Skip to content

Commit

Permalink
Move <Box>
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerJDev committed Jul 31, 2024
1 parent 99e54eb commit d795d2e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/react/src/Dialog/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -491,11 +491,13 @@ const _Dialog = React.forwardRef<HTMLDivElement, React.PropsWithChildren<DialogP
{...positionDataAttributes}
sx={sx}
>
<Box>{header}</Box>
<Box />
{header}
<ScrollableRegion aria-labelledby={dialogLabelId} className="DialogOverflowWrapper">
{body}
</ScrollableRegion>
<Box>{footer}</Box>
{footer}
<Box />
</StyledDialog>
</Backdrop>
</Portal>
Expand Down

0 comments on commit d795d2e

Please sign in to comment.