Fix transaction title breaks row on some languages (#570)
This commit is contained in:
		
							parent
							
								
									8385c50605
								
							
						
					
					
						commit
						4338dd6c3f
					
				@ -9,8 +9,10 @@
 | 
			
		||||
      </a>
 | 
			
		||||
    </div>
 | 
			
		||||
  
 | 
			
		||||
  <div class="flex">
 | 
			
		||||
    <h1 i18n="shared.transaction">Transaction</h1>
 | 
			
		||||
  <div>
 | 
			
		||||
    <div class="title">
 | 
			
		||||
      <h1 i18n="shared.transaction">Transaction</h1>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    <div class="tx-link">
 | 
			
		||||
      <a [routerLink]="['/tx/' | relativeUrl, txId]">
 | 
			
		||||
@ -20,7 +22,7 @@
 | 
			
		||||
      <app-clipboard [text]="txId"></app-clipboard>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    <div class="container-buttons" >
 | 
			
		||||
    <div class="container-buttons">
 | 
			
		||||
      <ng-template [ngIf]="tx?.status?.confirmed">
 | 
			
		||||
        <button *ngIf="latestBlock" type="button" class="btn btn-sm btn-success">
 | 
			
		||||
          <ng-container *ngTemplateOutlet="latestBlock.height - tx.status.block_height + 1 == 1 ? confirmationSingular : confirmationPlural; context: {$implicit: latestBlock.height - tx.status.block_height + 1}"></ng-container>
 | 
			
		||||
@ -33,9 +35,7 @@
 | 
			
		||||
      </ng-template>
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
 | 
			
		||||
    <div class="clearfix"></div>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
  <div class="clearfix"></div>
 | 
			
		||||
 | 
			
		||||
  <ng-template [ngIf]="!isLoadingTx && !error">
 | 
			
		||||
 | 
			
		||||
@ -31,8 +31,9 @@ h1{
 | 
			
		||||
.container-buttons {
 | 
			
		||||
	text-align: right;
 | 
			
		||||
    width: 100%;
 | 
			
		||||
	@media (min-width: 992px) {
 | 
			
		||||
		width: 300px;
 | 
			
		||||
	@media (min-width: 850px) {
 | 
			
		||||
		width: auto;
 | 
			
		||||
		float: right;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -48,7 +49,8 @@ h1{
 | 
			
		||||
	  margin-left: 10px;
 | 
			
		||||
	  position: relative;	  
 | 
			
		||||
	  text-align: left;
 | 
			
		||||
	  width: 100%;
 | 
			
		||||
	  width: auto;
 | 
			
		||||
	  float: left;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user