From 413b8b322b60e22826bf87bd58ceb6e1637400c0 Mon Sep 17 00:00:00 2001 From: Wim Hendrikx Date: Wed, 9 Nov 2022 09:58:49 +0100 Subject: [PATCH 1/2] Don't repeat mask images by default --- sanitize.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sanitize.css b/sanitize.css index 53de7e9..be9819f 100644 --- a/sanitize.css +++ b/sanitize.css @@ -4,6 +4,7 @@ /** * 1. Add border box sizing in all browsers (opinionated). * 2. Backgrounds do not repeat by default (opinionated). + * 3. Masks do not repeat by default (opinionated). */ *, @@ -11,6 +12,7 @@ ::after { box-sizing: border-box; /* 1 */ background-repeat: no-repeat; /* 2 */ + mask-repeat: no-repeat /* 3 */ } /** From 13c3af1fa15ca00ac516db2e8f4775e053a92e34 Mon Sep 17 00:00:00 2001 From: Wim Hendrikx Date: Thu, 10 Nov 2022 14:32:54 +0100 Subject: [PATCH 2/2] Add missing semicolon Co-authored-by: Jonathan Neal --- sanitize.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanitize.css b/sanitize.css index be9819f..d7d1fb9 100644 --- a/sanitize.css +++ b/sanitize.css @@ -12,7 +12,7 @@ ::after { box-sizing: border-box; /* 1 */ background-repeat: no-repeat; /* 2 */ - mask-repeat: no-repeat /* 3 */ + mask-repeat: no-repeat; /* 3 */ } /**