change thumbnail display for extra wide images #433

This commit is contained in:
jonaswinkler 2021-02-12 18:20:17 +01:00
parent 13e91d8c95
commit ed478a1d73
3 changed files with 7 additions and 2 deletions

View File

@ -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
##################

View File

@ -6,7 +6,7 @@
.doc-img {
object-fit: cover;
object-position: top;
object-position: top left;
height: 100%;
position: absolute;
mix-blend-mode: multiply;

View File

@ -2,7 +2,7 @@
.doc-img {
object-fit: cover;
object-position: top;
object-position: top left;
height: 200px;
mix-blend-mode: multiply;
}