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

nav li::before breaks flexbox lists #233

Open
GauBen opened this issue Jul 21, 2022 · 0 comments · May be fixed by #234
Open

nav li::before breaks flexbox lists #233

GauBen opened this issue Jul 21, 2022 · 0 comments · May be fixed by #234

Comments

@GauBen
Copy link

GauBen commented Jul 21, 2022

These lines break display: flex lists:

sanitize.css/sanitize.css

Lines 102 to 105 in 092d0d8

:where(nav li)::before {
content: "\200B";
float: left;
}

Without:

image

With these lines, a ~10px gap appears:

image

GauBen added a commit to GauBen/sanitize.css that referenced this issue Jul 21, 2022
@GauBen GauBen linked a pull request Jul 21, 2022 that will close this issue
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 a pull request may close this issue.

1 participant