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 c8adc759d..a433a6198 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 35f6f53b1..44c112378 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 1dbb7c308..4885212ad 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 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,