Skip to content

Commit

Permalink
fix(menu): nesting popper padding and icon flex-shrink
Browse files Browse the repository at this point in the history
  • Loading branch information
qmhc committed Jun 19, 2022
1 parent 29d1e80 commit 4dc29ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion style/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ $menu: map.merge(
@include basis;

z-index: get-css-var('menu-popper-z-index');
padding-left: 5px;
padding: 0;
transform-origin: 0 0 !important;

&--drop {
Expand Down Expand Up @@ -249,6 +249,7 @@ $menu: map.merge(

&__icon {
display: flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
width: 24px;
Expand Down

0 comments on commit 4dc29ea

Please sign in to comment.