From 80335de75323e668db5d17e17b78e21bf2ebfcff Mon Sep 17 00:00:00 2001 From: Mert Akinc <7282195+m-akinc@users.noreply.github.com> Date: Fri, 9 Feb 2024 18:18:17 -0600 Subject: [PATCH] Exclude ::-webkit-slider-thumb pseudo-element from rewrites --- src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants.ts b/src/constants.ts index 00a71a1..5cee7d2 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -4,7 +4,7 @@ export const PARAM_KEY = "pseudo" // Pseudo-elements which are not allowed to have classes applied on them // E.g. ::-webkit-scrollbar-thumb.pseudo-hover is not a valid selector -export const EXCLUDED_PSEUDO_ELEMENTS = ["::-webkit-scrollbar-thumb"] +export const EXCLUDED_PSEUDO_ELEMENTS = ["::-webkit-scrollbar-thumb", "::-webkit-slider-thumb"] // Dynamic pseudo-classes // @see https://www.w3.org/TR/2018/REC-selectors-3-20181106/#dynamic-pseudos