Kaynağa Gözat

Visually hide br in text selections (#5447)

GitOrigin-RevId: ee26da17dd8087545022ce704ef98102e7eb9ea0
Alf Eaton 4 yıl önce
ebeveyn
işleme
7991fc1ebd

+ 4 - 0
services/web/frontend/stylesheets/app/editor/pdf.less

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