Merge pull request #16313 from Snuffleupagus/textLayer-CSS-is
Introduce some `:is` usage in the textLayer CSS
This commit is contained in:
commit
5119e7fd6a
@ -21,8 +21,7 @@
|
|||||||
line-height: 1;
|
line-height: 1;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
.textLayer span,
|
.textLayer :is(span, br) {
|
||||||
.textLayer br {
|
|
||||||
color: black;
|
color: black;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
|
@ -38,8 +38,7 @@
|
|||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textLayer span,
|
.textLayer :is(span, br) {
|
||||||
.textLayer br {
|
|
||||||
color: transparent;
|
color: transparent;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
|
Loading…
Reference in New Issue
Block a user