We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12e4211 commit 2d38183Copy full SHA for 2d38183
src/components/actions/ItemAction/ItemAction.tsx
@@ -13,6 +13,11 @@ export const ItemAction = tasty(Button, {
13
styles: {
14
height: '($size - 1x)',
15
width: '($size - 1x)',
16
- margin: '0 (.5x - 1bw)',
+ margin: {
17
+ '': '0 1bw 0 1bw',
18
+ ':last-child & !:first-child': '0 (.5x - 1bw) 0 0',
19
+ '!:last-child & :first-child': '0 0 0 (.5x - 1bw)',
20
+ ':last-child & :first-child': '0 (.5x - 1bw)',
21
+ },
22
},
23
});
0 commit comments