Skip to content

Commit 7f88600

Browse files
authored
Refactor from margin to gap
1 parent f140ea1 commit 7f88600

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/Dialog/Dialog.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -371,17 +371,9 @@ const Footer = styled.div<SxProp>`
371371
display: flex;
372372
flex-flow: wrap;
373373
justify-content: flex-end;
374+
gap: ${get('space.2')};
374375
z-index: 1;
375376
flex-shrink: 0;
376-
377-
button {
378-
margin-left: ${get('space.2')};
379-
&:first-child {
380-
margin-left: 0;
381-
}
382-
}
383-
384-
${sx};
385377
`
386378

387379
const buttonTypes = {

0 commit comments

Comments
 (0)