fix(modal): modal displays in middle of screen on desktop (#23911)

This commit is contained in:
Liam DeBeasi
2021-09-09 12:27:42 -04:00
committed by GitHub
parent 195d817967
commit 9d87028e81

View File

@ -65,9 +65,6 @@
.modal-shadow {
@include border-radius(var(--border-radius));
position: absolute;
bottom: 0;
width: var(--width);
min-width: var(--min-width);
max-width: var(--max-width);
@ -142,3 +139,9 @@
:host(.modal-sheet) {
--height: calc(100% - (var(--ion-safe-area-top) + 10px));
}
:host(.modal-sheet) .modal-wrapper,
:host(.modal-sheet) .modal-shadow {
position: absolute;
bottom: 0;
}