Fix: dont invert pdf colors in FF

This commit is contained in:
shamoon 2024-10-30 00:50:57 -07:00
parent 159344f033
commit 7d23e5a94e
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
</div>
} @else {
@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 {
@if (requiresPassword) {
<div class="w-100 h-100 position-relative">

View File

@ -17,7 +17,7 @@
background-color: #e7e7e7;
}
object {
object:not(.pdf) {
mix-blend-mode: difference;
&.p-2 {
padding: 0 !important;