primer / view_components

ViewComponents for the Primer Design System
https://primer.style/components/
MIT License
475 stars 116 forks source link

Missing space between Dialog Header and Body #3043

Open HDinger opened 2 months ago

HDinger commented 2 months ago

What are you trying to accomplish?

Add top-padding for the Dialog body to move it closer to the React component and avoid it being glued to the divider.

Screenshots

Before After
Default Bildschirmfoto 2024-08-30 um 14 43 59 Bildschirmfoto 2024-08-30 um 14 43 21
With large header and divider Bildschirmfoto 2024-08-30 um 14 44 29 Bildschirmfoto 2024-08-30 um 14 37 02
Custom header Bildschirmfoto 2024-08-30 um 14 45 33 Bildschirmfoto 2024-08-30 um 14 36 42
Header filter Bildschirmfoto 2024-08-30 um 14 45 12 Bildschirmfoto 2024-08-30 um 14 36 31

List the issues that this change affects.

Closes #3008

Risk Assessment

What approach did you choose and why?

Accessibility

Merge checklist

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: d3e7ec9152bb2d29bb39d240fce5f5ab20a0ca1f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------------- | ----- | | @primer/view-components | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 6 days ago

Hi! This pull request has been marked as stale because it has been open with no activity for 60 days. You can comment on the pull request or remove the stale label to keep it open. If you do nothing, this pull request will be closed in 7 days.

HDinger commented 6 days ago

Hi @team can I please get any feedback on this?