-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(Modal): add proper right padding to header #13409
fix(Modal): add proper right padding to header #13409
Conversation
✅ Deploy Preview for carbon-components-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@francinelucca Good eye, it does need to account for that right side padding. Your question had me dig for how the Calculation info
The header was close, but the Shall I update them both to use the "perfect 20%" or use a simpler rem calculation? (i.e. p: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for that detailed explanation @jsehull. let's just deduct an extra rem in the header and that should be good enough.
Co-authored-by: Francine Lucca <40550942+francinelucca@users.noreply.github.com>
Closes #13288
Ensure Heading has proper padding alignment to match design specs shown here
Currently, only the paragraph text has the 20% right padding layout
Changelog
New
padding-right
for the Header text to match thep
textChanged
Removed
Testing / Reviewing
h3
Header and confirm there is now right paddingp
tag below since they maintain an equal cutoff point (only IF there is a description area on that modal variation)