Skip to content

Commit a849b58

Browse files
committed
feat: make navbar sticky for improved navigation experience
1 parent dae5557 commit a849b58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Navbar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const navLinks = [
1010
];
1111
---
1212

13-
<nav class="navbar bg-base-100 border-b border-base-300">
13+
<nav class="navbar bg-base-100 border-b border-base-300 sticky top-0 z-50">
1414
<div class="navbar-start">
1515
<a href="/" class="btn btn-ghost text-xl font-bold">
1616
MyCodingPlan

0 commit comments

Comments
 (0)