Skip to content

Commit 0a24b58

Browse files
authoredOct 13, 2024
fix: remove :is() from mocha.css to support older browsers (#5225) (#5227)
1 parent 1173da0 commit 0a24b58

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎mocha.css

+4-2
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,8 @@ body {
349349
padding: 0;
350350
}
351351

352-
#mocha-stats :is(.progress-element, .progress-text) {
352+
#mocha-stats .progress-element,
353+
#mocha-stats .progress-text {
353354
width: var(--ring-container-size);
354355
display: block;
355356
top: 12px;
@@ -374,7 +375,8 @@ body {
374375
height: var(--ring-container-size);
375376
}
376377

377-
#mocha-stats :is(.ring-flatlight, .ring-highlight) {
378+
#mocha-stats .ring-flatlight,
379+
#mocha-stats .ring-highlight {
378380
--stroke-thickness: 1.65px;
379381
--center: calc(var(--ring-container-size) / 2);
380382
cx: var(--center);

0 commit comments

Comments
 (0)