Skip to content

Commit 6723d3f

Browse files
authored
Update progress-tracker.css
In current chrome browsers the new attr-function is breaking the design.
1 parent c2b1046 commit 6723d3f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/styles/progress-tracker.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
transition: background-color, border-color;
4242
transition-duration: 0.3s;
4343
}
44+
@supports (x: attr(x type(*))) {
45+
.progress-marker::before {
46+
content: attr(data-text string, "");
47+
}
48+
}
4449
.progress-marker::after {
4550
content: "";
4651
display: block;
@@ -403,4 +408,4 @@
403408
}
404409
[dir=rtl] .progress-tracker--center .progress-marker::after {
405410
left: -50%;
406-
}
411+
}

0 commit comments

Comments
 (0)