Skip to content

Commit 7a654cc

Browse files
authored
Merge pull request #115 from nih-sparc/remove-set-width-on-large-modal
Made large modal responsive
2 parents 7e27096 + 6899ffc commit 7a654cc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nih-sparc/sparc-design-system-components",
3-
"version": "0.26.21",
3+
"version": "0.26.22",
44
"private": false,
55
"scripts": {
66
"serve": "vue-cli-service serve",

src/components/LargeModal/src/LargeModal.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ export default {
9393
flex-shrink: 0;
9494
color: #fff;
9595
max-width: 316px;
96+
min-width: min-content;
97+
width: 35%;
9698
overflow: hidden;
9799
position: relative;
98100
padding: 2rem;
@@ -113,7 +115,8 @@ export default {
113115
114116
::v-deep .el-dialog {
115117
border-radius: 0;
116-
width: 868px;
118+
width: fit-content;
119+
max-width: 868px;
117120
118121
.el-dialog__body {
119122
padding: 0;

0 commit comments

Comments
 (0)