Skip to content

Commit

Permalink
fix: simplify dialog header padding
Browse files Browse the repository at this point in the history
  • Loading branch information
robinpyon authored and mariuslundgard committed Dec 7, 2023
1 parent e5a7111 commit 2c5fee1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/dialog/dialog.tsx
Expand Up @@ -309,10 +309,12 @@ const DialogCard = forwardRef(function DialogCard(
<DialogHeader
$isContentScrollable={isContentScrollable}
$hasScrolledFromTop={hasScrolledFromTop}
padding={3}
paddingLeft={4}
paddingRight={3}
paddingY={3}
>
<Flex align="center">
<Box flex={1} padding={3}>
<Box flex={1}>
{header && (
<Text id={labelId} size={1} weight="medium">
{header}
Expand Down

0 comments on commit 2c5fee1

Please sign in to comment.