Skip to content

Commit f5eca5a

Browse files
committed
fixed modal display for mobile
1 parent 5041bd8 commit f5eca5a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

website/modules/asset/ui/src/scss/_cases.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,14 +1286,14 @@
12861286
}
12871287

12881288
&__content {
1289-
position: absolute;
1290-
left: 50%;
1291-
top: 50%;
1289+
position: sticky;
1290+
left: 20px;
1291+
right: 20px;
1292+
top: 90px;
12921293
width: 90vw;
12931294
max-width: 400px;
1294-
min-width: 320px;
1295+
min-width: 300px;
12951296
background: #fff;
1296-
transform: translate(-50%, -50%);
12971297
z-index: 2;
12981298
padding: 0 16px 24px;
12991299
max-height: 90vh;

0 commit comments

Comments
 (0)