Skip to content

Commit

Permalink
fix: Sidebar icon state
Browse files Browse the repository at this point in the history
  • Loading branch information
oodamien committed Mar 25, 2024
1 parent 4a38911 commit 5c59159
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/css/nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,15 @@ html.is-clipped--nav {

.nav-item.is-current-page > .nav-item-toggle {
background: transparent url(../img/chevron-white.svg) no-repeat center / 50%;
transform: rotate(0deg);
transform: rotate(-90deg);
filter: opacity(75%);
}


.nav-item.is-current-page.is-active > .nav-item-toggle {
transform: rotate(0deg);
}

.dark-theme .nav-item.is-current-page > .nav-item-toggle {
background: transparent url(../img/chevron.svg) no-repeat center / 50%;
}
Expand Down

0 comments on commit 5c59159

Please sign in to comment.