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 9affa52ec..da19b2145 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 87904f8e6..bac7153e0 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 6c6075c4a..877bf6507 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,