Skip to content

Commit ab40307

Browse files
authored
💄 Border heavy and spacing updates for Dialog (#1198)
1 parent 2b97ac9 commit ab40307

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/molecules/Dialog/Dialog.styles.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ export const DialogTitle = styled(EDSDialog.Title)<StyledDialogProps>`
1717
align-items: center;
1818
justify-content: space-between;
1919
width: 100%;
20-
padding: ${spacings.medium};
20+
padding: ${spacings.small} ${spacings.x_small} ${spacings.small}
21+
${spacings.medium};
2122
2223
${({ $withBorders }) => {
2324
if ($withBorders) {
2425
return css`
25-
border-bottom: 1px solid ${colors.ui.background__medium.rgba};
26+
border-bottom: 1px solid ${colors.ui.background__heavy.rgba};
2627
`;
2728
}
2829
return '';
@@ -51,7 +52,6 @@ export const DialogContent = styled(
5152
}}
5253
`;
5354
export const DialogActions = styled(EDSDialog.Actions)<StyledDialogProps>`
54-
border-top: 1px solid ${colors.ui.background__medium.rgba};
5555
display: grid;
5656
grid-template-columns: auto auto auto;
5757
padding-top: ${spacings.medium};
@@ -79,7 +79,7 @@ export const DialogActions = styled(EDSDialog.Actions)<StyledDialogProps>`
7979
${({ $withBorders }) => {
8080
if ($withBorders) {
8181
return css`
82-
border-top: 1px solid ${colors.ui.background__medium.rgba};
82+
border-top: 1px solid ${colors.ui.background__heavy.rgba};
8383
`;
8484
}
8585
return css`

0 commit comments

Comments
 (0)