Skip to content

Commit ff35460

Browse files
authored
Bugfix: Honor sx on draft Dialog.Header (#4205)
* Honor sx on Dialog.Header * Add changeset,
1 parent dc98814 commit ff35460

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/witty-kangaroos-beg.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
Bugfix: Dialog.Header ignored the sx provided

src/Dialog/Dialog.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ const Header = styled.div<SxProp>`
342342
padding: ${get('space.2')};
343343
z-index: 1;
344344
flex-shrink: 0;
345+
${sx};
345346
`
346347

347348
const Title = styled.h1<SxProp>`

0 commit comments

Comments
 (0)