mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Use bootstrap row-cols-* classes to keep card list view full width
This commit is contained in:
		| @@ -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> | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon