Skip to content

Commit

Permalink
Merge pull request #275 from prezly/fix/mt-5210-min-height-when-filtered
Browse files Browse the repository at this point in the history
[MT-5210] Fix - [+] menu min-height when filtered
  • Loading branch information
e1himself authored Jul 27, 2022
2 parents 1f33823 + aa86b83 commit e3f967d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,18 @@
}

.MenuItemIcon {
$size: 14px;

border: none;
color: $red-600;
margin-right: $spacing-1;
width: 14px;
height: 14px;
width: $size;
height: $size;

> svg {
margin: 0;
width: $size;
height: $size;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ const POPPER_CONFIG: Parameters<typeof usePopper>[2] = {

state.styles.popper = {
...state.styles.popper,
minHeight: `${maxHeight}px`,
height: `${maxHeight}px`,
maxHeight: `${maxHeight}px`,
};
},
Expand Down

0 comments on commit e3f967d

Please sign in to comment.