Skip to content

Commit 63038a8

Browse files
committed
Apply mobile tweaks to sidebar
1 parent 734d93a commit 63038a8

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

β€Žui/src/components/Sidebar.astroβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ const categoryOrder = ["syntax", "data_structures", "classes", "advanced"];
120120
display: flex;
121121
flex-direction: column;
122122
height: 100vh;
123+
height: 100dvh;
123124
flex-shrink: 0;
124125
position: relative;
125126
transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);

β€Žui/src/styles/global.cssβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ a:hover {
6161
.app-container {
6262
display: flex;
6363
height: 100vh;
64+
height: 100dvh;
6465
width: 100vw;
6566
overflow: hidden;
6667
}

0 commit comments

Comments
Β (0)