Skip to content

Commit d9ada8f

Browse files
laurkimchazdean
authored andcommitted
[Modal.Header] Fix spacing
1 parent 096e47b commit d9ada8f

File tree

1 file changed

+3
-7
lines changed
  • polaris-react/src/components/Modal/components/Header

1 file changed

+3
-7
lines changed

polaris-react/src/components/Modal/components/Header/Header.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,9 @@ export function Header({id, titleHidden, children, onClose}: HeaderProps) {
3939
>
4040
<Columns columns={{xs: '1fr auto'}}>
4141
<Inline>
42-
<Box id={id} paddingBlockStart="1">
43-
<Box paddingBlockStart="05">
44-
<Text as="h2" variant="headingLg" breakWord>
45-
{children}
46-
</Text>
47-
</Box>
48-
</Box>
42+
<Text id={id} as="h2" variant="headingLg" breakWord>
43+
{children}
44+
</Text>
4945
</Inline>
5046
<Inline>
5147
<CloseButton titleHidden={titleHidden} onClick={onClose} />

0 commit comments

Comments
 (0)