mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #16313 from Snuffleupagus/textLayer-CSS-is
Introduce some `:is` usage in the textLayer CSS
This commit is contained in:
commit
5119e7fd6a
2 changed files with 2 additions and 4 deletions
|
@ -21,8 +21,7 @@
|
|||
line-height: 1;
|
||||
opacity: 1;
|
||||
}
|
||||
.textLayer span,
|
||||
.textLayer br {
|
||||
.textLayer :is(span, br) {
|
||||
color: black;
|
||||
position: absolute;
|
||||
white-space: pre;
|
||||
|
|
|
@ -38,8 +38,7 @@
|
|||
z-index: 2;
|
||||
}
|
||||
|
||||
.textLayer span,
|
||||
.textLayer br {
|
||||
.textLayer :is(span, br) {
|
||||
color: transparent;
|
||||
position: absolute;
|
||||
white-space: pre;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue