chore: mobile modal styles
This commit is contained in:
parent
13ce318b80
commit
c1107483c9
3 changed files with 19 additions and 11 deletions
|
@ -10,9 +10,9 @@
|
|||
position: fixed;
|
||||
background: var(--background-color);
|
||||
border: 1px solid var(--gray-light);
|
||||
max-height: 75%;
|
||||
max-width: 75%;
|
||||
inset: 12.5%;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
inset: 0;
|
||||
overflow: scroll;
|
||||
padding: var(--sizing-lg) var(--sizing-2xl);
|
||||
|
||||
|
@ -78,4 +78,12 @@
|
|||
transform: rotate(8deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.modal-wrapper .modal-body {
|
||||
max-height: 75%;
|
||||
max-width: 75%;
|
||||
inset: 12.5%;
|
||||
}
|
||||
}
|
Reference in a new issue