We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 109f3de commit 30fc9c6Copy full SHA for 30fc9c6
packages/pancake-uikit/src/__tests__/components/buttonmenu.test.tsx
@@ -27,7 +27,6 @@ it("renders correctly", () => {
27
28
.c0 > button,
29
.c0 > a {
30
- margin-left: 2px;
31
-webkit-flex: auto;
32
-ms-flex: auto;
33
flex: auto;
packages/pancake-uikit/src/components/ButtonMenu/ButtonMenu.tsx
@@ -25,7 +25,6 @@ const StyledButtonMenu = styled.div<StyledButtonMenuProps>`
25
26
& > button,
& > a {
- margin-left: ${({ fullWidth }) => (fullWidth ? "0px" : "2px")}; // To avoid focus shadow overlap
flex: ${({ fullWidth }) => (fullWidth ? 1 : "auto")};
}
0 commit comments