Skip to content

Commit

Permalink
Fix underline color propety in navigation for Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
mitiko committed Apr 21, 2024
1 parent 7c61b85 commit ae4ecb8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sass/components/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ nav {

& a {
color: var(--t1);
text-decoration: underline transparent;
text-decoration-line: underline;
text-decoration-color: transparent;
text-underline-offset: 0.2rem;
transition: text-decoration-color 0.3s;
}

& a:hover {
text-decoration-color: var(--c1);
text-underline-offset: 0.2rem;
}
}

0 comments on commit ae4ecb8

Please sign in to comment.