mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-12 21:21:04 +02:00
Fix transparent color of ::selection in Firefox
This forces `color: transparent` on selections.
In latest Firefox Nightly, this is no longer inherited on
`::selection` from the normal element.
References: <753827d749>
This commit is contained in:
parent
19046a6949
commit
7b54ec0a8d
@ -124,11 +124,13 @@
|
||||
/*#endif*/
|
||||
/* stylelint-enable declaration-block-no-duplicate-properties */
|
||||
background: color-mix(in srgb, AccentColor, transparent 50%);
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
&.selectionRendering {
|
||||
::selection {
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user