Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Paragraph + Heading spacing is too fragile #238

Open
sarahmonster opened this issue Jul 7, 2020 · 0 comments
Open

Paragraph + Heading spacing is too fragile #238

sarahmonster opened this issue Jul 7, 2020 · 0 comments

Comments

@sarahmonster
Copy link
Member

sarahmonster commented Jul 7, 2020

This rule is trying to resolve the paragraph + heading spacing problem, and it might be too clever, and we're often needing to override it.

.Nautilus-Paragraph + .css-18rem20-Timeslip-Timeslip-Timeslip-css-css winds up trying to add extra top-margin to a heading that follows a paragraph (as in here) so that a heading is closer to the text it heads up. I often write global style rules for this as well, because it doesn't quite do a good enough job of spacing things properly on its own, so we might need to reconsider how this rule is applied (if at all) in Nautilus.

It may help to review

a) how we're actually using + applying spacing around components in sites/products that use Nautilus
b) whether that spacing is effective
c) how we can better accomodate spacing needs across a product and editorial context

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant