mirror of
https://github.com/usetrmnl/terminus.git
synced 2026-08-13 14:29:27 -07:00
Updated menu item style to use active state
Instead of looking for the `.active` class, we'll use `data-state="active"` as our check which aligns with the `MenuItem` scope. Milestone: minor
This commit is contained in:
@@ -160,7 +160,7 @@
|
||||
text-decoration: none;
|
||||
transition: border-bottom-color 0.3s ease-in-out;
|
||||
|
||||
&:hover, &:active, &.active {
|
||||
&:hover, &:active, &[data-state="active"] {
|
||||
border-bottom-color: var(--site-orange);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user