From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 30 Oct 2024 18:43:02 +0000 (-0700) Subject: Fix: dont use filters for inverted thumbnails (#8121) X-Git-Tag: v2.13.3~1^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e22ccbda2675e4317954077f4f82e6c35f58ca17;p=thirdparty%2Fpaperless-ngx.git Fix: dont use filters for inverted thumbnails (#8121) --- 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 c8adc759dc..a433a6198b 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,6 +1,6 @@
-
+
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 35f6f53b1a..44c1123784 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 @@ -2,7 +2,7 @@ overflow-wrap: anywhere; } -.doc-img-background { +.doc-img-container { position: relative; } @@ -49,18 +49,6 @@ display: block; } -.card-selected { - border-color: var(--bs-primary); - - .document-card-check { - display: block; - } -} - -.doc-img-background-selected { - background-color: var(--pngx-primary-faded); -} - .card-info { line-height: 1; 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 1dbb7c3080..4885212ada 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 9affa52ec4..da19b21453 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 @@ -40,18 +40,6 @@ top: 142px; } -.card-selected { - border-color:var(--bs-primary); - - .document-card-check { - display: block; - } -} - -.doc-img-background-selected { - background-color: var(--pngx-primary-faded); -} - .card-info { line-height: 1; diff --git a/src-ui/src/styles.scss b/src-ui/src/styles.scss index 87904f8e66..bac7153e0c 100644 --- a/src-ui/src/styles.scss +++ b/src-ui/src/styles.scss @@ -490,9 +490,23 @@ ul.pagination { .doc-img-container { border: none !important; - border-top-left-radius: .25rem; - border-top-right-radius: .25rem; overflow: hidden; + + .doc-img { + overflow: visible; + } +} + +.card-selected { + border-color:var(--bs-primary); + + .document-card-check { + display: block; + } + + .doc-img-container { + background-color: var(--pngx-primary-faded); + } } table.table { @@ -705,6 +719,10 @@ i-bs svg { vertical-align: text-bottom; } -.document-card .card-footer i-bs svg { - vertical-align: middle; +.document-card { + overflow: hidden; + + .card-footer i-bs svg { + vertical-align: middle; + } } diff --git a/src-ui/src/theme.scss b/src-ui/src/theme.scss index 6c6075c4a0..877bf65075 100644 --- a/src-ui/src/theme.scss +++ b/src-ui/src/theme.scss @@ -183,7 +183,7 @@ $form-check-radio-checked-bg-image-dark: url("data:image/svg+xml,