mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Better handle long tag names
This commit is contained in:
		| @@ -1,3 +1,6 @@ | ||||
| a { | ||||
|     cursor: pointer; | ||||
|     white-space: normal; | ||||
|     word-break: break-word; | ||||
|     text-align: end; | ||||
| } | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -78,3 +78,11 @@ | ||||
| a { | ||||
|   cursor: pointer; | ||||
| } | ||||
|  | ||||
| .tags { | ||||
|   top: 0; | ||||
|   right: 0; | ||||
|   max-width: 80%; | ||||
|   row-gap: .2rem; | ||||
|   line-height: 1; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon