From b38cedd20ae21460c34031bde31ad930f288d330 Mon Sep 17 00:00:00 2001 From: katiehartrick Date: Tue, 28 Sep 2021 13:00:52 +0800 Subject: [PATCH 1/2] Prevent zero-width space from consuming space in Safari. --- CHANGELOG.md | 4 ++++ sanitize.css | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c5a8b4..d3241d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changes to sanitize.css +### 13.0.1 (September 28, 2021) + +- Fixed: Prevent zero-width space from consuming space in Safari. + ### 13.0.0 (September 14, 2021) - Added: `:where` too all selectors, reducing specificity to nearly zero. diff --git a/sanitize.css b/sanitize.css index 53de7e9..8c8f698 100644 --- a/sanitize.css +++ b/sanitize.css @@ -101,7 +101,7 @@ :where(nav li)::before { content: "\200B"; - float: left; + postion: absolute; } /** From 7842501d9175b4adc6d5eee5819a7ab47f2cc72b Mon Sep 17 00:00:00 2001 From: Katie Hartrick <6202772+katiehartrick@users.noreply.github.com> Date: Wed, 20 Apr 2022 21:40:59 +0800 Subject: [PATCH 2/2] Update sanitize.css fix typo --- sanitize.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanitize.css b/sanitize.css index 8c8f698..f2a2e2a 100644 --- a/sanitize.css +++ b/sanitize.css @@ -101,7 +101,7 @@ :where(nav li)::before { content: "\200B"; - postion: absolute; + position: absolute; } /**