Hopefull improved styling for Firefox mobile fixes

This commit is contained in:
the-djmaze 2023-02-05 19:45:03 +01:00
parent 07409cde50
commit 93ff3001c6
17 changed files with 88 additions and 87 deletions

View file

@ -1,7 +1,3 @@
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html.list-loading body {
/* cursor: wait;*/
@ -26,6 +22,10 @@ option:disabled {
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
#rl-content {
display:flex;
height: 100%;
}
dialog::backdrop {
background: rgba(0,0,0,0.5);
@ -49,7 +49,8 @@ dialog {
display: flex;
flex-direction: column;
margin: 10px auto;
max-height: calc(100vh - 20px);
max-height: calc(100vh - var(--smDialogShrink));
max-height: calc(100dvh - var(--smDialogShrink));
max-width: 560px;
overflow: auto;
padding: 0;
@ -77,6 +78,7 @@ dialog:not(.animate) {
.rl-mobile dialog {
margin: 0 auto;
/* max-height: calc(100vh - 86px);*/
/* max-height: 100dvh;*/
width: 100%;
}