Fix accelerator error message positioning
This commit is contained in:
		
							parent
							
								
									32eaf29aaa
								
							
						
					
					
						commit
						d074ff1d4c
					
				| @ -564,7 +564,7 @@ | ||||
|         <span i18n="transaction.accelerate|Accelerate button label">Accelerate</span> | ||||
|       </button> | ||||
|       @if (quoteError || cantPayReason) { | ||||
|         <span class="btn-error"><app-mempool-error [error]="quoteError || cantPayReason" [textOnly]="true" alertClass=""></app-mempool-error></span> | ||||
|         <div class="btn-error-wrapper"><span class="btn-error"><app-mempool-error [error]="quoteError || cantPayReason" [textOnly]="true" alertClass=""></app-mempool-error></span></div> | ||||
|       } | ||||
|     </div> | ||||
|   } | ||||
|  | ||||
| @ -195,5 +195,11 @@ | ||||
|   right: 0; | ||||
|   font-size: 12px; | ||||
|   color: var(--red); | ||||
|   white-space: nowrap; | ||||
|   text-align: center; | ||||
|   width: 200px; | ||||
|   white-space: normal; | ||||
| } | ||||
| 
 | ||||
| .btn-error-wrapper { | ||||
|   height: 26px; | ||||
| } | ||||
| @ -6,4 +6,4 @@ | ||||
|   </span> | ||||
| } | ||||
| 
 | ||||
| <ng-template #lowBalance i18n="accelerator.low-balance">Your balance is too low. Please <a style="color:#105fb0" href="/services/accelerator/overview">top up your account</a>.</ng-template> | ||||
| <ng-template #lowBalance i18n="accelerator.low-balance">Your balance is too low.<br/>Please <a style="color:#105fb0" href="/services/accelerator/overview">top up your account</a>.</ng-template> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user