Skip to content

Conversation

bsastregx
Copy link
Collaborator

Changes on this PR:

Mercury

  • Apply button-tertiary and button-icon-only mixins to the header close button.
  • Define a min-block-size for the header and remove its padding-block to avoid excessive height caused by combined header and close button padding.
  • Add padding-block to the header caption to prevent text from overlapping the header borders when captions are large.

- Include mixins for the header button (a mixin for tertiary button, and a mixin for icon-only)
- Set a min-block-size on the header and remove the header padding (to prevent excesive height due to header padding + close button padding).
- Set padding-block on the header caption (to prevent text overlap with header block borders on excesive large heading captions).
@bsastregx bsastregx added fix Bug fix pull request mercury Changes related to Mercury design system target: minor This PR is targeted for the next minor release labels Aug 20, 2025
@bsastregx bsastregx changed the title [mercury][dialog] Use mixins for the header button, move padding-block from the header to the header caption. [mercury][dialog] Use mixins for the header button, move padding-block from the header to the header caption. Aug 20, 2025
@bsastregx bsastregx changed the title [mercury][dialog] Use mixins for the header button, move padding-block from the header to the header caption. [mercury][dialog] Use mixins for the header close button (reusulting in having focus style now), move padding-block from the header to the header caption, to avoid excesive height. Aug 20, 2025
@bsastregx bsastregx merged commit f51a513 into main Aug 20, 2025
6 checks passed
@bsastregx bsastregx deleted the mercury/fix-focus-styles branch August 20, 2025 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix pull request mercury Changes related to Mercury design system target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant