Skip to content

Commit 47d8896

Browse files
committed
frontend: fix dialogs using full window height
Dialogs should not grow larger than -webkit-available-height, this was wrongly set to be minimum at least available height.
1 parent 7f85a33 commit 47d8896

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontends/web/src/components/dialog/dialog-legacy.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
text-align: left;
2727
max-height: 100vh;
2828
/* mobile viewport bug fix */
29-
min-height: -webkit-fill-available;
29+
max-height: -webkit-fill-available;
3030
overflow: auto;
3131
opacity: 0;
3232
}

frontends/web/src/components/dialog/dialog.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
text-align: left;
2626
max-height: 100vh;
2727
/* mobile viewport bug fix */
28-
min-height: -webkit-fill-available;
28+
max-height: -webkit-fill-available;
2929
overflow: auto;
3030
}
3131
/* guard dialog and wait-dialog from view styles */

0 commit comments

Comments
 (0)