Skip to content

Commit

Permalink
fix(nav-item): hover underline on function slots (#2260)
Browse files Browse the repository at this point in the history
* fix: hover underline
---------

Co-authored-by: felixw <[email protected]>
  • Loading branch information
felix-ico and felixw authored Oct 24, 2024
1 parent c7828c0 commit 6e8c380
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,15 @@
left: 0;
}

.scale-telekom-nav-list[variant='functions']
> .scale-telekom-nav-item
> :where(a, button):hover:after,
.scale-telekom-nav-list[variant='functions']
> .scale-telekom-nav-item
> :where(button[aria-expanded='true']):after {
width: 100%;
}

.scale-telekom-nav-list[variant='main-nav']
> .scale-telekom-nav-item
> :where(a, button):has(scale-badge[label]):hover:after,
Expand Down

0 comments on commit 6e8c380

Please sign in to comment.