UX: Fix modal positioning when iOS keyboard is visible

This commit is contained in:
Penar Musaraj 2020-05-06 23:05:47 -04:00
parent 33c8adda83
commit 423802fbce
1 changed files with 7 additions and 0 deletions

View File

@ -141,6 +141,13 @@
z-index: z("modal", "content"); z-index: z("modal", "content");
overflow: auto; overflow: auto;
.keyboard-visible & {
height: calc(var(--composer-vh, 1vh) * 100);
.modal-inner-container {
max-height: 100%;
}
}
&:not(.history-modal) { &:not(.history-modal) {
.modal-body:not(.reorder-categories):not(.poll-ui-builder) { .modal-body:not(.reorder-categories):not(.poll-ui-builder) {
max-height: 80vh !important; max-height: 80vh !important;