mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	bs5: fix color component display
This commit is contained in:
		@@ -2,9 +2,7 @@
 | 
				
			|||||||
  <label [for]="inputId">{{title}}</label>
 | 
					  <label [for]="inputId">{{title}}</label>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <div class="input-group" [class.is-invalid]="error">
 | 
					  <div class="input-group" [class.is-invalid]="error">
 | 
				
			||||||
      <div class="input-group-prepend">
 | 
					 | 
				
			||||||
    <span class="input-group-text" [style.background-color]="value">   </span>
 | 
					    <span class="input-group-text" [style.background-color]="value">   </span>
 | 
				
			||||||
      </div>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <ng-template #popContent>
 | 
					      <ng-template #popContent>
 | 
				
			||||||
        <div style="min-width: 200px;" class="pb-3">
 | 
					        <div style="min-width: 200px;" class="pb-3">
 | 
				
			||||||
@@ -15,15 +13,12 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      <input class="form-control" [class.is-invalid]="error" [id]="inputId" [(ngModel)]="value" (change)="onChange(value)" [autoClose]="'outside'" [ngbPopover]="popContent" placement="bottom" popoverClass="shadow">
 | 
					      <input class="form-control" [class.is-invalid]="error" [id]="inputId" [(ngModel)]="value" (change)="onChange(value)" [autoClose]="'outside'" [ngbPopover]="popContent" placement="bottom" popoverClass="shadow">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <div class="input-group-append">
 | 
					 | 
				
			||||||
      <button class="btn btn-outline-secondary" type="button" (click)="randomize()">
 | 
					      <button class="btn btn-outline-secondary" type="button" (click)="randomize()">
 | 
				
			||||||
        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-dice-5" viewBox="0 0 16 16">
 | 
					        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-dice-5" viewBox="0 0 16 16">
 | 
				
			||||||
          <path d="M13 1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h10zM3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3z"/>
 | 
					          <path d="M13 1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h10zM3 0a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H3z"/>
 | 
				
			||||||
          <path d="M5.5 4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm8 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm-8 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm4-4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>
 | 
					          <path d="M5.5 4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm8 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm-8 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm4-4a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>
 | 
				
			||||||
        </svg>
 | 
					        </svg>
 | 
				
			||||||
      </button>
 | 
					      </button>
 | 
				
			||||||
      </div>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <small *ngIf="hint" class="form-text text-muted">{{hint}}</small>
 | 
					    <small *ngIf="hint" class="form-text text-muted">{{hint}}</small>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user