Use 100dvh to fix layout issue in mobile devices

This commit is contained in:
aditya.chandel
2025-07-19 14:37:45 -06:00
committed by Aditya Chandel
parent de005398df
commit fe2d307d2a
21 changed files with 22 additions and 22 deletions
@@ -3,7 +3,7 @@
.layout-main-container {
display: flex;
flex-direction: column;
min-height: 100vh;
min-height: 100dvh;
justify-content: space-between;
padding: 5rem 1.1rem 2rem 3.6rem;
transition: margin-left variables.$transitionDuration;
@@ -26,7 +26,7 @@ a {
}
.layout-wrapper {
min-height: 100vh;
min-height: 100dvh;
}
p {
@@ -4,7 +4,7 @@
.layout-sidebar {
position: fixed;
width: 225px;
height: calc(100vh - 6rem);
height: calc(100dvh - 6rem);
z-index: 999;
overflow-y: auto;
user-select: none;
@@ -21,7 +21,7 @@
transform: translateX(-100%);
left: 0;
top: 0;
height: 100vh;
height: 100dvh;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
@@ -72,7 +72,7 @@
transform: translateX(-100%);
left: 0;
top: 0;
height: 100vh;
height: 100dvh;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}