Skip to content

Commit e80a6ca

Browse files
committed
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
1 parent 3483ff5 commit e80a6ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/assets/css/layout.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
text-decoration: none;
161161
transition: border-bottom-color 0.3s ease-in-out;
162162

163-
&:hover, &:active, &.active {
163+
&:hover, &:active, &[data-state="active"] {
164164
border-bottom-color: var(--site-orange);
165165
}
166166
}

0 commit comments

Comments
 (0)