Skip to content

Commit 3705238

Browse files
committed
layout: Fix sidebar view on mobile
1 parent aacf36a commit 3705238

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/lib/components/sidebar-view.svelte

+8-2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
padding: 1em;
3535
}
3636
37+
.main-container > main {
38+
flex-grow: 1;
39+
position: relative;
40+
border-bottom: 1px solid var(--border-color);
41+
}
42+
3743
.main-container > aside :global(nav) {
3844
background: var(--content-background-color);
3945
padding: 0;
@@ -57,9 +63,9 @@
5763
flex-direction: row;
5864
}
5965
60-
.main-container > main {
61-
flex-grow: 1;
66+
.main-container > main {
6267
min-height: 0;
68+
border-bottom: 0;
6369
position: relative;
6470
display: flex;
6571
flex-direction: column;

0 commit comments

Comments
 (0)