mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Fix: dont invert pdf colors in FF (#8110)
This commit is contained in:
		@@ -5,7 +5,7 @@
 | 
				
			|||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  } @else {
 | 
					  } @else {
 | 
				
			||||||
    @if (renderAsObject) {
 | 
					    @if (renderAsObject) {
 | 
				
			||||||
      <object [data]="previewURL | safeUrl" width="100%" class="bg-light" [class.p-2]="!isPdf"></object>
 | 
					      <object [data]="previewURL | safeUrl" width="100%" class="bg-light" [class.p-2]="!isPdf" [class.pdf]="isPdf"></object>
 | 
				
			||||||
    } @else {
 | 
					    } @else {
 | 
				
			||||||
      @if (requiresPassword) {
 | 
					      @if (requiresPassword) {
 | 
				
			||||||
        <div class="w-100 h-100 position-relative">
 | 
					        <div class="w-100 h-100 position-relative">
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -17,7 +17,7 @@
 | 
				
			|||||||
    background-color: #e7e7e7;
 | 
					    background-color: #e7e7e7;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  object {
 | 
					  object:not(.pdf) {
 | 
				
			||||||
    mix-blend-mode: difference;
 | 
					    mix-blend-mode: difference;
 | 
				
			||||||
    &.p-2 {
 | 
					    &.p-2 {
 | 
				
			||||||
      padding: 0 !important;
 | 
					      padding: 0 !important;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user