From 0cea3461dca470f004177207304f6cea214f7b39 Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Fri, 18 Oct 2024 11:42:08 -0700 Subject: [PATCH] fix: Styling current link --- src/app.css | 2 +- src/routes/Navbar.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.css b/src/app.css index ba4e396..a617065 100644 --- a/src/app.css +++ b/src/app.css @@ -119,7 +119,7 @@ a, button { font-weight: 500; font-family: serif; } -.nav-link:not(.disabled-link) { +.nav-link:not(.disabled-link):not(.current-link) { color: var(--navlink); } a.disabled-link { diff --git a/src/routes/Navbar.svelte b/src/routes/Navbar.svelte index 82e28ea..25917b5 100644 --- a/src/routes/Navbar.svelte +++ b/src/routes/Navbar.svelte @@ -16,8 +16,8 @@ {#each routes as item} {item.name} {/each}