Skip to content

Commit

Permalink
fix(tabs): minor browser issues
Browse files Browse the repository at this point in the history
  • Loading branch information
eTallang committed Dec 5, 2024
1 parent 4f42b26 commit f91b624
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/components/tabs/tab-link.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,23 @@
font-size: 1rem;
font-weight: 500;

text-decoration: 20% wavy underline;
text-decoration-thickness: 2px;
text-decoration-style: wavy;
text-decoration-line: underline;
text-decoration-skip-ink: none;
text-underline-offset: 20%;
text-underline-offset: 0.125rem;
text-underline-position: from-font;
text-decoration-color: transparent;
transition: text-decoration-color 100ms ease, text-underline-offset 100ms ease;
user-select: none;

&:hover {
text-underline-offset: 30%;
text-underline-offset: 0.25rem;
text-decoration-color: var(--cx-color-text-primary);
}

&:active {
text-underline-offset: 60%;
text-underline-offset: 0.5rem;
}
}

Expand Down

0 comments on commit f91b624

Please sign in to comment.