Skip to content

Commit

Permalink
fix(SideNavLink): remove fixed height on SideNavLink (#7646)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tw15egan and kodiakhq[bot] authored Jan 26, 2021
1 parent eb3e70d commit 701492a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions packages/components/src/components/ui-shell/_side-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -304,17 +304,10 @@
overflow-y: auto;
}

// Force all of our side navigation items to be the same dimensions. When our
// menu expands, we can undo the forced dimensions.
.#{$prefix}--side-nav__item {
width: mini-units(6);
height: mini-units(6);
width: auto;
height: auto;
overflow: hidden;

@include expanded() {
width: auto;
height: auto;
}
}

.#{$prefix}--side-nav--ux .#{$prefix}--side-nav__item {
Expand Down

0 comments on commit 701492a

Please sign in to comment.