Fix: dont invert pdf colors in FF (#8110)

This commit is contained in:
shamoon 2024-10-30 00:54:19 -07:00 committed by GitHub
parent 159344f033
commit 11cfa0871e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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">

View File

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