Merge pull request #13842 from Rob--W/text-selection-br

Visually hide br in text selections
This commit is contained in:
Jonas Jenwald 2021-08-01 21:30:53 +02:00 committed by GitHub
commit 01fd0f59b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;