Skip to content

Commit bed5a22

Browse files
committed
Fix confirmation dialog width
1 parent 9c974b1 commit bed5a22

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/Modal/Modal.module.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@
4040
border-radius: 4px;
4141
max-height: 95vh;
4242
max-width: $screen-md;
43+
min-width: 480px;
44+
width: auto;
4345
overflow: hidden;
4446
padding: 40px;
45-
width: 480px;
4647
position: fixed;
4748
top: 50%;
4849
left: 50%;
@@ -51,6 +52,7 @@
5152

5253
@include xs-to-lg {
5354
max-width: 95vw;
55+
min-width: 0;
5456
}
5557

5658
@include xs-to-sm {

0 commit comments

Comments
 (0)