Visually hide br in text selections

Fixes #13840
This commit is contained in:
Rob Wu 2021-08-01 19:42:05 +02:00
parent 273cea8675
commit 1eeb153688

View File

@ -65,6 +65,11 @@
background: rgba(0, 0, 255, 1);
}
/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
.textLayer br::selection {
background: transparent;
}
.textLayer .endOfContent {
display: block;
position: absolute;