From 11cfa0871e3b4a4edd1a79941295b10f1b6dd260 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 30 Oct 2024 00:54:19 -0700 Subject: [PATCH] Fix: dont invert pdf colors in FF (#8110) --- .../common/preview-popup/preview-popup.component.html | 2 +- .../common/preview-popup/preview-popup.component.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src-ui/src/app/components/common/preview-popup/preview-popup.component.html b/src-ui/src/app/components/common/preview-popup/preview-popup.component.html index ecbc215d8..096dcf04d 100644 --- a/src-ui/src/app/components/common/preview-popup/preview-popup.component.html +++ b/src-ui/src/app/components/common/preview-popup/preview-popup.component.html @@ -5,7 +5,7 @@ } @else { @if (renderAsObject) { - + } @else { @if (requiresPassword) {
diff --git a/src-ui/src/app/components/common/preview-popup/preview-popup.component.scss b/src-ui/src/app/components/common/preview-popup/preview-popup.component.scss index 1ce4585c4..c44e29f43 100644 --- a/src-ui/src/app/components/common/preview-popup/preview-popup.component.scss +++ b/src-ui/src/app/components/common/preview-popup/preview-popup.component.scss @@ -17,7 +17,7 @@ background-color: #e7e7e7; } - object { + object:not(.pdf) { mix-blend-mode: difference; &.p-2 { padding: 0 !important;