Skip to content

Commit

Permalink
remove :is() from mocha.css to support older browsers (mochajs#5225)
Browse files Browse the repository at this point in the history
  • Loading branch information
danny0838 committed Oct 12, 2024
1 parent 1173da0 commit f22cf8b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mocha.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit f22cf8b

Please sign in to comment.