A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Better handle long tag names
Michael Shamoon5bbcc7f2f7c0
diff --git a/src-ui/src/app/components/common/tag/tag.component.scss b/src-ui/src/app/components/common/tag/tag.component.scssindex 903e9bfdb..d5d77448d 100644--- a/src-ui/src/app/components/common/tag/tag.component.scss+++ b/src-ui/src/app/components/common/tag/tag.component.scss@@ -1,3 +1,6 @@a {cursor: pointer;+ white-space: normal;+ word-break: break-word;+ text-align: end;}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.htmlindex 431454fe5..a27b23d37 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@@ -10,10 +10,8 @@</div></div>- <div style="top: 0; right: 0; font-size: large" class="text-end position-absolute me-1">- <div *ngFor="let t of getTagsLimited$() | async">- <app-tag [tag]="t" (click)="clickTag.emit(t.id);$event.stopPropagation()" [clickable]="true" linkTitle="Filter by tag" i18n-linkTitle></app-tag>- </div>+ <div class="tags d-flex flex-column text-end position-absolute me-1 fs-6">+ <app-tag *ngFor="let t of getTagsLimited$() | async" [tag]="t" (click)="clickTag.emit(t.id);$event.stopPropagation()" [clickable]="true" linkTitle="Filter by tag" i18n-linkTitle></app-tag><div *ngIf="moreTags"><span class="badge badge-secondary">+ {{moreTags}}</span></div>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.scssindex 4d03d0a4d..6ccbba0c2 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@@ -78,3 +78,11 @@a {cursor: pointer;}++.tags {+ top: 0;+ right: 0;+ max-width: 80%;+ row-gap: .2rem;+ line-height: 1;+}