Skip to content
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 (missing) margin collapses for sections #199

Merged
merged 2 commits into from
Jun 8, 2024
Merged

Conversation

Johann150
Copy link
Contributor

Fixes margin collapse for adjacent sections. I used a separate section+section selector because I don't think section:first-child should have no top margin.

Also collapse the margin h3 tags at the start of a section or article. There was already an equivalent rule for h2 so it looked to me like it was forgotten.

Both h2 and h3 have a margin-top set, but this rule for removing/collapsing
the margin was only defined for h2. I'm assuming this was just forgotten.
Copy link

netlify bot commented Jun 8, 2024

Deploy Preview for simplecss-cdn ready!

Name Link
🔨 Latest commit f24a010
🔍 Latest deploy log https://app.netlify.com/sites/simplecss-cdn/deploys/666478cfae37020008d7fbf6
😎 Deploy Preview https://deploy-preview-199--simplecss-cdn.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@lkhrs
Copy link
Collaborator

lkhrs commented Jun 8, 2024

Thank you!

@lkhrs lkhrs merged commit 287082c into kevquirk:main Jun 8, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants