Skip to content

Commit

Permalink
Add hover states to menu (#3001)
Browse files Browse the repository at this point in the history
Co-authored-by: Alessio Venturini <[email protected]>
  • Loading branch information
adi-unni and alessioventuriniAND authored Jan 29, 2024
1 parent 76f9c94 commit 24068b1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/navigation/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,14 @@
border-left: 4px solid transparent;
display: block;
margin: 0 0 0.2rem;
&--active {
&--active,
&:hover {
border-color: var(--ons-color-white);
}

.ons-navigation--sub-mobile & {
&--active {
&--active,
&:hover {
border-color: var(--ons-color-branded);
li {
border: 0;
Expand Down

0 comments on commit 24068b1

Please sign in to comment.