Fixed height rendering issues on mobile when browser bar is present.

This commit is contained in:
Jay
2025-07-20 13:41:17 -04:00
parent 30bab276a1
commit b57af5f518
2 changed files with 18 additions and 6 deletions
+12 -6
View File
@@ -1,13 +1,20 @@
.appWrapper {
height: 100vh;
height: 100%;
width: 100%;
overflow: hidden;
}
.mobileContent,
.mainContent,
.tabWrapper,
.tabWrapper .tab {
height: 100%;
}
/* Large */
@media (min-width: 992px),
(min-width: 568px) and (max-width: 991px) and (orientation: portrait) {
.appContainer {
.appWrapper {
max-width: 1200px;
margin: 0 auto;
}
@@ -43,7 +50,7 @@
/* Landscape Phone */
@media (min-width: 568px) and (max-width: 991px) and (orientation: landscape) {
.appContainer {
.appWrapper {
}
.mainContent,
@@ -70,13 +77,12 @@
}
.tabWrapper {
max-height: 100vh;
max-height: 100%;
overflow-y: scroll;
scroll-snap-type: y mandatory;
}
.tabWrapper .tab {
height: 100vh;
scroll-snap-align: start;
}
@@ -95,7 +101,7 @@
/* Portrait Phone */
@media (max-width: 567px) {
.appContainer {
.appWrapper {
}
.mainContent,
+6
View File
@@ -9,3 +9,9 @@ body {
-moz-osx-font-smoothing: grayscale;
margin: 0;
}
html,
body,
#root {
height: 100%;
}