mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fix: dont invert pdf colors in FF (#8110)
This commit is contained in:
parent
159344f033
commit
11cfa0871e
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user