Merge pull request #4410 from mempool/simon/accelerate-button-height
Accelerate button height align fix
This commit is contained in:
		
						commit
						5d05dd7089
					
				| @ -120,7 +120,7 @@ | |||||||
|                       <ng-template [ngIf]="this.mempoolPosition.block >= 7" [ngIfElse]="belowBlockLimit"> |                       <ng-template [ngIf]="this.mempoolPosition.block >= 7" [ngIfElse]="belowBlockLimit"> | ||||||
|                         <span [class]="(acceleratorAvailable && accelerateCtaType === 'button') ? 'etaDeepMempool d-flex justify-content-end align-items-center' : ''"> |                         <span [class]="(acceleratorAvailable && accelerateCtaType === 'button') ? 'etaDeepMempool d-flex justify-content-end align-items-center' : ''"> | ||||||
|                           <span i18n="transaction.eta.in-several-hours|Transaction ETA in several hours or more">In several hours (or more)</span> |                           <span i18n="transaction.eta.in-several-hours|Transaction ETA in several hours or more">In several hours (or more)</span> | ||||||
|                           <a *ngIf="!tx.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !tx?.acceleration" [href]="'/services/accelerator/accelerate?txid=' + tx.txid" class="btn btn-sm accelerateDeepMempool" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> |                           <a *ngIf="!tx.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !tx?.acceleration" [href]="'/services/accelerator/accelerate?txid=' + tx.txid" class="btn btn-sm accelerateDeepMempool btn-small-height" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> | ||||||
|                         </span> |                         </span> | ||||||
|                       </ng-template> |                       </ng-template> | ||||||
|                       <ng-template #belowBlockLimit> |                       <ng-template #belowBlockLimit> | ||||||
| @ -130,7 +130,7 @@ | |||||||
|                         <ng-template #timeEstimateDefault> |                         <ng-template #timeEstimateDefault> | ||||||
|                           <span class="eta justify-content-end" [class]="(acceleratorAvailable && accelerateCtaType === 'button') ? 'd-flex align-items-center' : ''"> |                           <span class="eta justify-content-end" [class]="(acceleratorAvailable && accelerateCtaType === 'button') ? 'd-flex align-items-center' : ''"> | ||||||
|                             <app-time kind="until" *ngIf="(da$ | async) as da;" [time]="da.timeAvg * (this.mempoolPosition.block + 1) + now + da.timeOffset" [fastRender]="false" [fixedRender]="true"></app-time> |                             <app-time kind="until" *ngIf="(da$ | async) as da;" [time]="da.timeAvg * (this.mempoolPosition.block + 1) + now + da.timeOffset" [fastRender]="false" [fixedRender]="true"></app-time> | ||||||
|                             <a *ngIf="!tx.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !tx?.acceleration" [href]="'/services/accelerator/accelerate?txid=' + tx.txid" class="btn btn-sm accelerate" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> |                             <a *ngIf="!tx.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !tx?.acceleration" [href]="'/services/accelerator/accelerate?txid=' + tx.txid" class="btn btn-sm accelerate btn-small-height" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> | ||||||
|                           </span> |                           </span> | ||||||
|                         </ng-template> |                         </ng-template> | ||||||
|                       </ng-template> |                       </ng-template> | ||||||
|  | |||||||
| @ -61,7 +61,7 @@ | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .btn-small-height { | .btn-small-height { | ||||||
| 	line-height: 1.1; | 	line-height: 1; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .arrow-green { | .arrow-green { | ||||||
| @ -259,7 +259,6 @@ | |||||||
| .accelerate { | .accelerate { | ||||||
|   display: flex !important; |   display: flex !important; | ||||||
|   align-self: auto; |   align-self: auto; | ||||||
|   margin-top: 3px; |  | ||||||
|   margin-left: auto; |   margin-left: auto; | ||||||
|   background-color: #653b9c; |   background-color: #653b9c; | ||||||
|   @media (max-width: 849px) { |   @media (max-width: 849px) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user