Skip to content

Commit 1eeb153

Browse files
committed
Visually hide br in text selections
Fixes mozilla#13840
1 parent 273cea8 commit 1eeb153

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

web/text_layer_builder.css

+5
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@
6565
background: rgba(0, 0, 255, 1);
6666
}
6767

68+
/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
69+
.textLayer br::selection {
70+
background: transparent;
71+
}
72+
6873
.textLayer .endOfContent {
6974
display: block;
7075
position: absolute;

0 commit comments

Comments
 (0)