csstools / csstools/sanitize.css

zero-width space is consuming space in Safari

Open
#226 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
5.3k
Forks
299
PR merge metrics
No merged PRs in 30d

Description

Commit https://github.com/csstools/sanitize.css/commit/97537649c8e5d53d98c8e4a6234a0917f824acf2# replaced
```
:where(nav li)::before {
content: "\200B";
position: absolute;
}
```
with
```
:where(nav li)::before {
content: "\200B";
float: left;
}
```
The addition of` float: left` adds unwanted space in Safari.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.