Skip to content

Commit

Permalink
Bring hierarchy back to mobile side nav
Browse files Browse the repository at this point in the history
  • Loading branch information
alinekeller committed May 16, 2024
1 parent c0b2778 commit 16f2e09
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions assets/components/organisms/nav-aside/nav-aside.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
padding: 0;
}
a {
padding-inline: 1rem;
padding-inline: 1.5rem;
font-size: 1rem;
}
}
Expand Down Expand Up @@ -84,12 +84,10 @@
&:before { content: none; }
}

&.active:not(.menu-item-has-children)+li>a:before {
//content: none;
}

@include media-breakpoint-down(lg) {
&.active > a { margin-right: $spacer * 2; }
&.active > a {
margin-inline: 0;
}
}
}
& > ul > li:first-child > a:before { content: none; }
Expand Down

0 comments on commit 16f2e09

Please sign in to comment.