Skip to content

Commit a2b2a62

Browse files
Elena RashkovanLena Rashkovan
andauthored
feat(modal): remove padding from ModalCard (#511)
Co-authored-by: Lena Rashkovan <lena.rashkovan@free-now.com>
1 parent 1477f51 commit a2b2a62

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/components/experimental/Dialog/Dialog.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const ButtonsWrapper = styled.div`
2020
`;
2121

2222
const StyledModal = styled(Modal)`
23+
padding: 2rem;
2324
width: 30rem;
2425
`;
2526

src/components/experimental/Modal/Modal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { Dialog, DialogProps, Modal as BaseModal } from 'react-aria-components';
44
import { getSemanticValue } from '../../../essentials/experimental';
55

66
const ModalCard = styled(BaseModal)`
7-
padding: 2rem;
87
border-radius: 1.5rem;
98
background: ${getSemanticValue('surface')};
109
color: ${getSemanticValue('on-surface')};

0 commit comments

Comments
 (0)