From 701492ad0a40aed5f7354e5bd83247e66ca504a5 Mon Sep 17 00:00:00 2001 From: TJ Egan Date: Tue, 26 Jan 2021 09:21:23 -0800 Subject: [PATCH] fix(SideNavLink): remove fixed height on SideNavLink (#7646) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .../components/src/components/ui-shell/_side-nav.scss | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/packages/components/src/components/ui-shell/_side-nav.scss b/packages/components/src/components/ui-shell/_side-nav.scss index 56720b92ca93..1e74d47d31f3 100644 --- a/packages/components/src/components/ui-shell/_side-nav.scss +++ b/packages/components/src/components/ui-shell/_side-nav.scss @@ -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 {