Skip to content

Commit

Permalink
style(uikit-buttonmenu): Fix extra margin (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
hachiojidev authored Aug 11, 2021
1 parent 109f3de commit 30fc9c6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ it("renders correctly", () => {
.c0 > button,
.c0 > a {
margin-left: 2px;
-webkit-flex: auto;
-ms-flex: auto;
flex: auto;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const StyledButtonMenu = styled.div<StyledButtonMenuProps>`
& > button,
& > a {
margin-left: ${({ fullWidth }) => (fullWidth ? "0px" : "2px")}; // To avoid focus shadow overlap
flex: ${({ fullWidth }) => (fullWidth ? 1 : "auto")};
}
Expand Down

0 comments on commit 30fc9c6

Please sign in to comment.