Skip to content

Commit

Permalink
Bugfix: Honor sx on draft Dialog.Header (#4205)
Browse files Browse the repository at this point in the history
* Honor sx on Dialog.Header

* Add changeset,
  • Loading branch information
pablonete committed Feb 6, 2024
1 parent dc98814 commit ff35460
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/witty-kangaroos-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Bugfix: Dialog.Header ignored the sx provided
1 change: 1 addition & 0 deletions src/Dialog/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ const Header = styled.div<SxProp>`
padding: ${get('space.2')};
z-index: 1;
flex-shrink: 0;
${sx};
`

const Title = styled.h1<SxProp>`
Expand Down

0 comments on commit ff35460

Please sign in to comment.