From 0a24b58477ea8ad146afc798930800b02c08790a Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Mon, 14 Oct 2024 04:53:13 +0800 Subject: [PATCH] fix: remove `:is()` from `mocha.css` to support older browsers (#5225) (#5227) --- mocha.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mocha.css b/mocha.css index 1e0d22249a..1c548546ca 100644 --- a/mocha.css +++ b/mocha.css @@ -349,7 +349,8 @@ body { padding: 0; } -#mocha-stats :is(.progress-element, .progress-text) { +#mocha-stats .progress-element, +#mocha-stats .progress-text { width: var(--ring-container-size); display: block; top: 12px; @@ -374,7 +375,8 @@ body { height: var(--ring-container-size); } -#mocha-stats :is(.ring-flatlight, .ring-highlight) { +#mocha-stats .ring-flatlight, +#mocha-stats .ring-highlight { --stroke-thickness: 1.65px; --center: calc(var(--ring-container-size) / 2); cx: var(--center);