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