Skip to content

Add margin to header child when it has no siblings #169

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

Merged
merged 2 commits into from
Oct 9, 2023

Conversation

lkhrs
Copy link
Collaborator

@lkhrs lkhrs commented Oct 9, 2023

Fix for issue #168

This would be an excellent use case for :has() in a few years, that way we could set padding on the header element itself depending on its children.

Before:
Document (1)

After:
Document

@netlify
Copy link

netlify bot commented Oct 9, 2023

Deploy Preview for simplecss-cdn ready!

Name Link
🔨 Latest commit b251c1e
🔍 Latest deploy log https://app.netlify.com/sites/simplecss-cdn/deploys/65246f75b4b3b90008e9a1e2
😎 Deploy Preview https://deploy-preview-169--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 lkhrs merged commit 82e4994 into kevquirk:main Oct 9, 2023
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.

1 participant