Visually hide br in text selections (#5447)

GitOrigin-RevId: ee26da17dd8087545022ce704ef98102e7eb9ea0
This commit is contained in:
Alf Eaton 2021-10-15 10:50:34 +01:00 committed by Copybot
parent 61f466afc0
commit 7991fc1ebd

View file

@ -216,6 +216,10 @@
&:focus-within { &:focus-within {
outline: none; outline: none;
} }
/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
.textLayer br::selection {
background: transparent;
}
} }
.progress-thin { .progress-thin {
position: absolute; position: absolute;