Explorar o código

Visually hide br in text selections (#5447)

GitOrigin-RevId: ee26da17dd8087545022ce704ef98102e7eb9ea0
Alf Eaton %!s(int64=4) %!d(string=hai) anos
pai
achega
7991fc1ebd
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      services/web/frontend/stylesheets/app/editor/pdf.less

+ 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;