Skip to content

Commit

Permalink
feat: horizontal menu item active state
Browse files Browse the repository at this point in the history
  • Loading branch information
zuramai committed Mar 30, 2023
1 parent 5c5519d commit 7bafdb6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/assets/scss/components/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@
.menu-link {
color: $gray-300;
}
&.active a {
color: white;
font-weight: bold;
}
&.has-sub .menu-link {
padding-right: 1.3rem;
&:after {
Expand Down Expand Up @@ -179,6 +183,9 @@

.submenu-item {
position: relative;
&.active .submenu-link {
color: var(--bs-primary)
}
&.has-sub .submenu-link {
position: relative;
&:after {
Expand Down

0 comments on commit 7bafdb6

Please sign in to comment.