Browse Source

move filter rule to pdf page

Konstantinos Kaloutas 2 years ago
parent
commit
92ad2e4065
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/main/frontend/extensions/pdf/pdf.css

+ 5 - 2
src/main/frontend/extensions/pdf/pdf.css

@@ -734,9 +734,12 @@ input::-webkit-inner-spin-button {
     background-color: #042f3c;
 
     .pdfViewer {
-      -webkit-filter: invert(100%);
-      filter: invert(100%);
       background: transparent;
+
+      .page {
+        -webkit-filter: invert(100%);
+        filter: invert(100%);
+      }
     }
 
     .textLayer {