Mobile height fix

This commit is contained in:
Sacha Weatherstone
2022-02-20 00:38:34 +11:00
parent 03dc086246
commit 41709131b1
4 changed files with 22 additions and 2 deletions
+20
View File
@@ -34,6 +34,7 @@
padding: 0 !important;
}
/* JSONPretty */
.__json-pretty__ {
line-height: 1.3;
color: #748096;
@@ -56,3 +57,22 @@
color: #748096;
overflow: auto;
}
/* Mobile height fix */
/* .min-h-fill {
min-height: -webkit-fill-available;
}
.h-fill {
height: -webkit-fill-available;
} */
body {
min-height: 100vh;
/* mobile viewport bug fix */
min-height: -webkit-fill-available;
}
html {
height: -webkit-fill-available;
}