improve modal display on mobile

This commit is contained in:
memeriau 2022-03-01 00:30:05 +01:00
parent c5d238c134
commit a2e8b73d8e
2 changed files with 24 additions and 9 deletions

View File

@ -9,17 +9,27 @@
}
.modalContent {
@include horizontal-vertical-center();
position: absolute;
bottom: auto;
right: auto;
padding: 15px;
max-height: 80vh;
outline: 0;
background-color: $color-white;
border-radius: 15px;
border: $border-large;
@include mobile {
top: 0;
bottom: 0;
left: 0;
right: 0;
overflow-y: auto;
}
@include desktop {
@include horizontal-vertical-center();
bottom: auto;
right: auto;
max-height: 80vh;
border-radius: 15px;
border: $border-large;
}
}
.closeButton {

View File

@ -2,7 +2,9 @@
@import "../../../theme/mixins";
.root {
width: 680px;
@include desktop {
width: 680px;
}
}
.title {
@ -21,8 +23,11 @@
}
.formArea {
display: flex;
margin-bottom: 10px;
@include desktop {
display: flex;
}
}
.leftCol {