Skip to content

Commit

Permalink
fix: Sidebar menu cropped in extended mode (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriellsh authored Feb 19, 2021
1 parent cd0d3fc commit 8e06c60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/fuselage/src/components/Sidebar/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ $sidebar-item-color-selected: theme(

&:hover &__menu-wraper,
&.focus-within &__menu-wraper {
position: relative;
position: static;

width: lengths.size(20);
margin-inline: lengths.margin(4);
Expand All @@ -208,6 +208,8 @@ $sidebar-item-color-selected: theme(
}

&__menu-wraper {
position: relative;

flex-shrink: 0;

width: 0;
Expand Down

0 comments on commit 8e06c60

Please sign in to comment.