فهرست منبع

Visually hide br in text selections (#5447)

GitOrigin-RevId: ee26da17dd8087545022ce704ef98102e7eb9ea0
Alf Eaton 4 سال پیش
والد
کامیت
7991fc1ebd
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  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;