Merge pull request #5381 from TechMiX/hotfix/rtl-layout
fix: various rtl issues
This commit is contained in:
		
						commit
						7515348997
					
				| @ -550,19 +550,19 @@ | |||||||
|         <td> |         <td> | ||||||
|           <ng-container *ngIf="(ETA$ | async) as eta; else etaSkeleton"> |           <ng-container *ngIf="(ETA$ | async) as eta; else etaSkeleton"> | ||||||
|             @if (eta.blocks >= 7) { |             @if (eta.blocks >= 7) { | ||||||
|               <span [class]="(!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !showAccelerationSummary && eligibleForAcceleration) ? 'etaDeepMempool d-flex justify-content-end align-items-center' : ''"> |               <span [class]="(!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !showAccelerationSummary && eligibleForAcceleration) ? 'etaDeepMempool justify-content-end align-items-center' : ''"> | ||||||
|                 <span i18n="transaction.eta.not-any-time-soon|Transaction ETA mot any time soon">Not any time soon</span> |                 <span i18n="transaction.eta.not-any-time-soon|Transaction ETA mot any time soon">Not any time soon</span> | ||||||
|                 @if (!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !showAccelerationSummary && eligibleForAcceleration) { |                 @if (!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !showAccelerationSummary && eligibleForAcceleration) { | ||||||
|                   <a class="btn btn-sm accelerateDeepMempool btn-small-height" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> |                   <a class="btn btn-sm accelerateDeepMempool btn-small-height float-right" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> | ||||||
|                 } |                 } | ||||||
|               </span> |               </span> | ||||||
|             } @else if (network === 'liquid' || network === 'liquidtestnet') { |             } @else if (network === 'liquid' || network === 'liquidtestnet') { | ||||||
|               <app-time kind="until" [time]="eta.time" [fastRender]="false" [fixedRender]="true"></app-time> |               <app-time kind="until" [time]="eta.time" [fastRender]="false" [fixedRender]="true"></app-time> | ||||||
|             } @else { |             } @else { | ||||||
|               <span [class]="(!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !showAccelerationSummary && eligibleForAcceleration) ? 'etaDeepMempool d-flex justify-content-end align-items-center' : ''"> |               <span [class]="(!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !showAccelerationSummary && eligibleForAcceleration) ? 'etaDeepMempool justify-content-end align-items-center' : ''"> | ||||||
|                 <app-time kind="until" [time]="eta.time" [fastRender]="false" [fixedRender]="true"></app-time> |                 <app-time kind="until" [time]="eta.time" [fastRender]="false" [fixedRender]="true"></app-time> | ||||||
|                 @if (!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !showAccelerationSummary && eligibleForAcceleration) { |                 @if (!tx?.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !showAccelerationSummary && eligibleForAcceleration) { | ||||||
|                   <a class="btn btn-sm accelerateDeepMempool btn-small-height" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> |                   <a class="btn btn-sm accelerateDeepMempool btn-small-height float-right" i18n="transaction.accelerate|Accelerate button label" (click)="onAccelerateClicked()">Accelerate</a> | ||||||
|                 } |                 } | ||||||
|               </span> |               </span> | ||||||
|               <span class="eta justify-content-end"> |               <span class="eta justify-content-end"> | ||||||
|  | |||||||
| @ -297,7 +297,6 @@ | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .etaDeepMempool { | .etaDeepMempool { | ||||||
|   display: flex !important; |  | ||||||
|   justify-content: flex-end; |   justify-content: flex-end; | ||||||
|   flex-wrap: wrap; |   flex-wrap: wrap; | ||||||
|   align-content: center; |   align-content: center; | ||||||
|  | |||||||
| @ -916,6 +916,44 @@ th { | |||||||
|     } |     } | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  |   .beta { | ||||||
|  |     @extend .beta; | ||||||
|  |     margin: 24px -19px 0px 0px !important; | ||||||
|  |     @media (max-width: 767.98px) { | ||||||
|  |       margin: 30px -23px 0px 0px !important; | ||||||
|  |     } | ||||||
|  |     @media (max-width: 3429px) { | ||||||
|  |       margin: 25px -23px 0px 0px !important; | ||||||
|  |     } | ||||||
|  |     @media (max-width: 369px) { | ||||||
|  |       margin: 20px -23px 0px 0px !important; | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .etaDeepMempool { | ||||||
|  |     @extend .etaDeepMempool; | ||||||
|  |     @media (max-width: 995px) { | ||||||
|  |       justify-content: right !important; | ||||||
|  |     } | ||||||
|  |     @media (max-width: 849px) { | ||||||
|  |       justify-content: left !important; | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .nodes { | ||||||
|  |     @extend .nodes; | ||||||
|  |     direction: ltr !important; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .fee-rate { | ||||||
|  |     @extend .fee-rate; | ||||||
|  |     direction: rtl !important; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .bitcoin-satoshis-text { | ||||||
|  |     direction: ltr !important; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|   .table th { |   .table th { | ||||||
|     text-align: right; |     text-align: right; | ||||||
|   } |   } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user