Skip to content

Commit 2d38183

Browse files
committed
fix(ItemAction): styles
1 parent 12e4211 commit 2d38183

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/components/actions/ItemAction/ItemAction.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ export const ItemAction = tasty(Button, {
1313
styles: {
1414
height: '($size - 1x)',
1515
width: '($size - 1x)',
16-
margin: '0 (.5x - 1bw)',
16+
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+
},
1722
},
1823
});

0 commit comments

Comments
 (0)