mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Fix alert resizing
This commit is contained in:
		| @@ -19,10 +19,10 @@ | ||||
|     <div *ngFor="let status of getStatus()"> | ||||
|       <ngb-alert type="secondary" class="mt-2 mb-0" [dismissible]="isFinished(status)" (closed)="dismiss(status)"> | ||||
|         <h6 class="alert-heading">{{status.filename}}</h6> | ||||
|         <p class="mb-0" *ngIf="!isFinished(status) || (isFinished(status) && !status.documentId)">{{status.message}}</p> | ||||
|         <p class="mb-0 pb-1" *ngIf="!isFinished(status) || (isFinished(status) && !status.documentId)">{{status.message}}</p> | ||||
|         <ngb-progressbar [value]="status.getProgress()" [max]="1" [type]="getStatusColor(status)"></ngb-progressbar> | ||||
|         <div *ngIf="isFinished(status)"> | ||||
|           <button *ngIf="status.documentId" class="btn btn-sm btn-outline-primary mr-2" routerLink="/documents/{{status.documentId}}" (click)="dismiss(status)"> | ||||
|           <button *ngIf="status.documentId" class="btn btn-sm btn-outline-primary btn-open" routerLink="/documents/{{status.documentId}}" (click)="dismiss(status)"> | ||||
|             <small>Open document</small> | ||||
|             <svg xmlns="http://www.w3.org/2000/svg" width="1rem" height="1rem" fill="currentColor" class="bi bi-arrow-right-short" viewBox="0 0 16 16"> | ||||
|               <path fill-rule="evenodd" d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/> | ||||
|   | ||||
| @@ -8,17 +8,17 @@ form { | ||||
|   position: relative; | ||||
| } | ||||
|  | ||||
| .alert { | ||||
|   transition: all 0.2s ease; | ||||
| } | ||||
|  | ||||
| .alert-heading { | ||||
|   font-size: 80%; | ||||
|   font-weight: bold; | ||||
| } | ||||
|  | ||||
| .btn-sm { | ||||
| .btn-open { | ||||
|   line-height: 1; | ||||
|  | ||||
|   svg { | ||||
|     margin-top: -1px; | ||||
|   } | ||||
| } | ||||
|  | ||||
| .dismiss-all { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon