From beb20bd038ca6f1773313d3b663b6ba2480ffd74 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 15 Jan 2024 22:37:04 -0800 Subject: [PATCH] Fix some alignment, smaller icons --- .../document-card-large.component.html | 35 ++++++++----------- .../document-card-small.component.html | 14 ++++---- .../document-list.component.html | 2 +- 3 files changed, 22 insertions(+), 29 deletions(-) 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 2f44fa57a..405e60487 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 @@ -70,29 +70,25 @@
@if (notesEnabled && document.notes.length) { - } @if (document.document_type) { - } @if (document.storage_path) { - } @if (document.archive_serial_number | isNumber) { -
- - #{{document.archive_serial_number}} +
+ #{{document.archive_serial_number}}
} @@ -102,20 +98,17 @@ Modified: {{ document.modified | customDate }}
-
- - {{document.created_date | customDate:'mediumDate'}} +
+ {{document.created_date | customDate:'mediumDate'}}
@if (document.owner && document.owner !== settingsService.currentUser.id) { -
- - {{document.owner | username}} +
+ {{document.owner | username}}
} @if (document.is_shared_by_requester) { -
- - Shared +
+ Shared
} @if (document.__search_hit__?.score) { 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 9864af55a..cdbd88825 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 @@ -25,7 +25,7 @@ @if (notesEnabled && document.notes.length) { - + {{document.notes.length}} } @@ -43,14 +43,14 @@ @if (document.document_type) { } @if (document.storage_path) { } @@ -63,25 +63,25 @@
- + {{document.created_date | customDate:'mediumDate'}}
@if (document.archive_serial_number | isNumber) {
- + #{{document.archive_serial_number}}
} @if (document.owner && document.owner !== settingsService.currentUser.id) {
- + {{document.owner | username}}
} @if (document.is_shared_by_requester) {
- + Shared
} diff --git a/src-ui/src/app/components/document-list/document-list.component.html b/src-ui/src/app/components/document-list/document-list.component.html index c4df1728a..5de7ff6e7 100644 --- a/src-ui/src/app/components/document-list/document-list.component.html +++ b/src-ui/src/app/components/document-list/document-list.component.html @@ -232,7 +232,7 @@ @if (d.notes.length) { - + {{d.notes.length}} }