Skip to content

Commit 30fc9c6

Browse files
authored
style(uikit-buttonmenu): Fix extra margin (#239)
1 parent 109f3de commit 30fc9c6

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/pancake-uikit/src/__tests__/components/buttonmenu.test.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ it("renders correctly", () => {
2727
2828
.c0 > button,
2929
.c0 > a {
30-
margin-left: 2px;
3130
-webkit-flex: auto;
3231
-ms-flex: auto;
3332
flex: auto;

packages/pancake-uikit/src/components/ButtonMenu/ButtonMenu.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ const StyledButtonMenu = styled.div<StyledButtonMenuProps>`
2525
2626
& > button,
2727
& > a {
28-
margin-left: ${({ fullWidth }) => (fullWidth ? "0px" : "2px")}; // To avoid focus shadow overlap
2928
flex: ${({ fullWidth }) => (fullWidth ? 1 : "auto")};
3029
}
3130

0 commit comments

Comments
 (0)