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: clear top margin for nested list recursively #280

Merged
merged 2 commits into from
Feb 6, 2024

Conversation

imfing
Copy link
Owner

@imfing imfing commented Feb 6, 2024

previous pr: #276 didn't handle the nested list recursively

this PR removes the first-child selector so it would apply the margin-top: 0 recursively for <li> elements under content

image

fixes #277

@imfing imfing linked an issue Feb 6, 2024 that may be closed by this pull request
Copy link

netlify bot commented Feb 6, 2024

Deploy Preview for hugo-hextra ready!

Name Link
🔨 Latest commit 8d7285a
🔍 Latest deploy log https://app.netlify.com/sites/hugo-hextra/deploys/65c2aae07187c20007aa97b7
😎 Deploy Preview https://deploy-preview-280--hugo-hextra.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.

@imfing imfing merged commit 716af59 into main Feb 6, 2024
4 checks passed
@imfing imfing deleted the 277-nested-list-ul-margin-top branch February 6, 2024 22:04
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.

Nested list: <ul> margin-top with bold first element
1 participant