Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

change thumbnail display for extra wide images #433

jonaswinklered478a1d739b
diff --git a/docs/changelog.rst b/docs/changelog.rst
index d0d38cce4..47dd1bc02 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -5,6 +5,11 @@
Changelog
*********
+paperless-ng 1.1.2
+##################
+
+* Always show top left corner of thumbnails, even for extra wide documents.
+
paperless-ng 1.1.1
##################
diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss
index a549b6f53..c49de93b5 100644
--- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss
+++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss
@@ -6,7 +6,7 @@
.doc-img {
object-fit: cover;
- object-position: top;
+ object-position: top left;
height: 100%;
position: absolute;
mix-blend-mode: multiply;
diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss
index a4af1bb11..cbe8fa6f6 100644
--- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss
+++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss
@@ -2,7 +2,7 @@
.doc-img {
object-fit: cover;
- object-position: top;
+ object-position: top left;
height: 200px;
mix-blend-mode: multiply;
}