diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html index a531dea97..e1ad87bcc 100644 --- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html +++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html @@ -1,7 +1,7 @@
- +
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 10454dc73..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 @@ -4,7 +4,7 @@ overflow-wrap: anywhere; } -.doc-img, .doc-img-inverted { +.doc-img { object-fit: cover; object-position: top left; height: 100%; diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html index f90239e63..862b0ad22 100644 --- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html +++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html @@ -1,7 +1,7 @@
- +
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 680198efc..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 @@ -1,6 +1,6 @@ @import "/src/theme"; -.doc-img, .doc-img-inverted { +.doc-img { object-fit: cover; object-position: top left; height: 200px; diff --git a/src-ui/src/theme_dark.scss b/src-ui/src/theme_dark.scss index 89a7bea34..1b26680fe 100644 --- a/src-ui/src/theme_dark.scss +++ b/src-ui/src/theme_dark.scss @@ -147,18 +147,11 @@ $border-color-dark-mode: #47494f; } } - .doc-img-inverted { - mix-blend-mode: normal; + .doc-img.inverted { filter: invert(95%) hue-rotate(180deg); - border-radius: 0; - border-color: $bg-dark-mode; - - &.border-right { - border-right: none !important; - } } - .card-selected .doc-img .doc-img-inverted { + .card-selected .doc-img { mix-blend-mode: luminosity; }