Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8eb5621

Browse files
author
Liam Lyness
committed
Fixed nav active borders on mobile nav
1 parent e7deb38 commit 8eb5621

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

‎src/lib/header.svelte‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,7 @@
6767
</div>
6868
<div class="flex flex-col justify-evenly text-white w-full sm:hidden">
6969
{#each navigations as nav}
70-
<a
71-
href={nav.link}
72-
class={current_link === nav.link
73-
? "border-y-4 rounded-full 2xl:px-12 border-primary"
74-
: "border-y-4 border-primary hover:border-primary border-opacity-10 rounded-full 2xl:px-12 "}
75-
>
70+
<a href={nav.link}>
7671
<p class="text-5xl sm:text-2xl py-1">{nav.title}</p>
7772
</a>
7873
{/each}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /