A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Use bootstrap row-cols-* classes to keep card list view full width
Michael Shamoon677cfb7a1e20
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 2647e702c..da0829349 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,4 +1,4 @@-<div class="col p-2 h-100" style="width: 16rem;">+<div class="col p-2 h-100"><div class="card h-100 shadow-sm"><div class="border-bottom"><img class="card-img doc-img" [src]="getThumbUrl()">@@ -22,7 +22,7 @@</div><div class="card-footer">- <div class="d-flex justify-content-between align-items-center ml-n2">+ <div class="d-flex justify-content-between align-items-center mx-n2"><div class="btn-group"><a routerLink="/documents/{{document.id}}" class="btn btn-sm btn-outline-secondary" title="Edit"><svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-pencil" fill="currentColor" xmlns="http://www.w3.org/2000/svg">@@ -42,7 +42,7 @@</svg></a></div>- <small class="text-muted">{{document.created | date}}</small>+ <small class="text-muted pl-1">{{document.created | date}}</small></div></div>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.htmlindex 1b3596098..31b00f482 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@@ -116,6 +116,6 @@</table>-<div class=" m-n2 row" *ngIf="displayMode == 'smallCards'">+<div class="m-n2 row row row-cols-2 row-cols-md-3 row-cols-lg-4 row-cols-xl-5" *ngIf="displayMode == 'smallCards'"><app-document-card-small [document]="d" *ngFor="let d of list.documents" (clickTag)="clickTag($event)" (clickCorrespondent)="clickCorrespondent($event)"></app-document-card-small></div>