Skip to content

Commit

Permalink
fix(docs): update menu component to react to expand (add a relevant c…
Browse files Browse the repository at this point in the history
…lass) (#206)

Closes #180
  • Loading branch information
dimaatkaev authored and nnixaa committed Feb 9, 2018
1 parent 86b2784 commit 18ccdf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/app/docs/docs.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
ul a {
font-size: 1.125rem;
}
& > ul.menu-items {
& > ul.menu-items.expanded {
margin-bottom: nb-theme(menu-group-gap);
}
& > a:first-child {
Expand Down
2 changes: 1 addition & 1 deletion docs/app/styles/_themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $nb-themes: nb-register-theme((
menu-submenu-active-fg: color-fg-active,
menu-submenu-hover-fg: color-fg-active,
menu-group-gap: 1rem,//custom variable
menu-item-padding: 0.125rem 1rem,
menu-item-padding: 0.5rem 1rem,
menu-submenu-padding: 0,
menu-submenu-item-container-padding: 0 1rem,
form-control-border-radius: 3px,
Expand Down

0 comments on commit 18ccdf6

Please sign in to comment.