]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: fix thumbnail clipping, select inverted color in safari (#8193)
authorshamoon <4887959+shamoon@users.noreply.github.com>
Mon, 4 Nov 2024 21:44:35 +0000 (13:44 -0800)
committerGitHub <noreply@github.com>
Mon, 4 Nov 2024 21:44:35 +0000 (13:44 -0800)
src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html
src-ui/src/theme.scss

index 4885212adaa09608e2a67fba29002b4eb437a9c0..2ac5cb43f8d67d9783dab6d96961d5fc66ed50e6 100644 (file)
@@ -1,6 +1,6 @@
 <div class="col p-2 h-100">
   <div class="card h-100 shadow-sm document-card" [class.card-selected]="selected" [class.popover-hidden]="popoverHidden" (mouseleave)="mouseLeaveCard()">
-    <div class="border-bottom doc-img-container" (click)="this.toggleSelected.emit($event)" (dblclick)="dblClickDocument.emit(this)">
+    <div class="border-bottom doc-img-container rounded-top" (click)="this.toggleSelected.emit($event)" (dblclick)="dblClickDocument.emit(this)">
       <img class="card-img doc-img" [class.inverted]="getIsThumbInverted()" [src]="getThumbUrl()">
 
       <div class="border-end border-bottom bg-light py-1 px-2 document-card-check">
index 877bf650759207ff44300b024cd203469ee23280..3c4208229a2c01cd49410b3c0e5ccdafb155d079 100644 (file)
@@ -204,7 +204,7 @@ $form-check-radio-checked-bg-image-dark: url("data:image/svg+xml,<svg xmlns='htt
   @supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) {
     // Safari does not like the filters on the image, see https://github.com/paperless-ngx/paperless-ngx/pull/8121
     .doc-img-container {
-      background-color: #ffffff;
+      background-color: #ffffff !important;
     }
 
     .doc-img {