Skip to content

Commit 436fc0b

Browse files
committed
Sticky Nav
1 parent 519335f commit 436fc0b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/routes/+layout.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@
9797
user-select: none;
9898
font-weight: 600;
9999
font-size: 0.9rem;
100-
position: fixed;
100+
position: sticky;
101+
top: 0;
102+
z-index: 2;
101103
}
102104
103105
#main-nav > div {

0 commit comments

Comments
 (0)