-
Notifications
You must be signed in to change notification settings - Fork 276
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[spacing]: paragraphs following h4s need 0 margin top #508
Comments
Looks like the spacing in the paragraph is actually coming from the row. Row's are now receiving a margin-top: 1.5rem coming from these styles: https://github.com/vpicone/gatsby-theme-carbon/blob/d9e6fdc0d80228b6c1326968cba2f0663772d7a6/packages/gatsby-theme-carbon/src/components/Main/Main.module.scss#L11-L18 |
PR request to come soon. |
the spacing under the header is too tight. Not sure what the exact spec is but by best guess is 16 or 24px. @jeanservaas can provide exact pixels. |
also effects here with this header size too. Needs more space under neath above text and image in this case https://www.ibm.com/brand/advertising |
the space after the figure title should be 24px -- or rather, allow the image to have the 24px margin top in this scenario. |
What about the larger header in above sample? |
fix[spacing]: paragraphs following h4s need 0 margin top
After pushing the new spacing fix, we have to tweak the H4s in the theme:
This is what's happening right now... creating super confusing hierarchies across the Carbon site:
The text was updated successfully, but these errors were encountered: