Merge pull request #1931 from TechMiX/rtlFixes3
fix various RTL layout issues
This commit is contained in:
		
						commit
						f5dab6f215
					
				| @ -50,7 +50,7 @@ | |||||||
|             <tbody> |             <tbody> | ||||||
|               <tr> |               <tr> | ||||||
|                 <td class="td-width" i18n="block.hash">Hash</td> |                 <td class="td-width" i18n="block.hash">Hash</td> | ||||||
|                 <td><a [routerLink]="['/block/' | relativeUrl, block.id]" title="{{ block.id }}">{{ block.id | shortenString : 13 }}</a> <app-clipboard class="d-none d-sm-inline-block" [text]="block.id"></app-clipboard></td> |                 <td>‎<a [routerLink]="['/block/' | relativeUrl, block.id]" title="{{ block.id }}">{{ block.id | shortenString : 13 }}</a> <app-clipboard class="d-none d-sm-inline-block" [text]="block.id"></app-clipboard></td> | ||||||
|               </tr> |               </tr> | ||||||
|               <tr> |               <tr> | ||||||
|                 <td i18n="block.timestamp">Timestamp</td> |                 <td i18n="block.timestamp">Timestamp</td> | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| <div *ngIf="stateService.env.MINING_DASHBOARD" class="mb-3 d-flex menu" style="padding: 0px 35px;"> | <div *ngIf="stateService.env.MINING_DASHBOARD" class="mb-3 d-inline-flex menu" style="padding: 0px 35px;"> | ||||||
|   <a routerLinkActive="active" class="btn btn-primary w-50 mr-1" |   <a routerLinkActive="active" class="btn btn-primary w-50 mr-1" | ||||||
|     [routerLink]="['/graphs/mempool' | relativeUrl]">Mempool</a> |     [routerLink]="['/graphs/mempool' | relativeUrl]">Mempool</a> | ||||||
|   <div ngbDropdown class="w-50"> |   <div ngbDropdown class="w-50"> | ||||||
|  | |||||||
| @ -1,5 +1,5 @@ | |||||||
| <div class="container-xl"> | <div class="container-xl"> | ||||||
|   <h1 i18n="shared.broadcast-transaction|Broadcast Transaction">Broadcast Transaction</h1> |   <h1 class="text-left" i18n="shared.broadcast-transaction|Broadcast Transaction">Broadcast Transaction</h1> | ||||||
| 
 | 
 | ||||||
|   <form [formGroup]="pushTxForm" (submit)="pushTxForm.valid && postTx()" novalidate> |   <form [formGroup]="pushTxForm" (submit)="pushTxForm.valid && postTx()" novalidate> | ||||||
|     <div class="mb-3"> |     <div class="mb-3"> | ||||||
|  | |||||||
| @ -66,9 +66,9 @@ | |||||||
|                         </ng-template> |                         </ng-template> | ||||||
|                       </ng-template> |                       </ng-template> | ||||||
|                       <ng-template #defaultAddress> |                       <ng-template #defaultAddress> | ||||||
|                         <a *ngIf="vin.prevout.scriptpubkey_address; else vinScriptPubkeyType" [routerLink]="['/address/' | relativeUrl, vin.prevout.scriptpubkey_address]" title="{{ vin.prevout.scriptpubkey_address }}"> |                         <a class="shortable-address" *ngIf="vin.prevout.scriptpubkey_address; else vinScriptPubkeyType" [routerLink]="['/address/' | relativeUrl, vin.prevout.scriptpubkey_address]" title="{{ vin.prevout.scriptpubkey_address }}"> | ||||||
|                           <span class="d-block d-lg-none">{{ vin.prevout.scriptpubkey_address | shortenString : 16 }}</span> |                           <span class="d-block d-lg-none">{{ vin.prevout.scriptpubkey_address | shortenString : 16 }}</span> | ||||||
|                           <span class="d-none d-lg-flex justify-content-start"> |                           <span class="d-none d-lg-inline-flex justify-content-start"> | ||||||
|                             <span class="addr-left flex-grow-1" [style]="vin.prevout.scriptpubkey_address.length > 40 ? 'max-width: 235px' : ''">{{ vin.prevout.scriptpubkey_address }}</span> |                             <span class="addr-left flex-grow-1" [style]="vin.prevout.scriptpubkey_address.length > 40 ? 'max-width: 235px' : ''">{{ vin.prevout.scriptpubkey_address }}</span> | ||||||
|                             <span *ngIf="vin.prevout.scriptpubkey_address.length > 40" class="addr-right">{{ vin.prevout.scriptpubkey_address | capAddress: 40: 10 }}</span> |                             <span *ngIf="vin.prevout.scriptpubkey_address.length > 40" class="addr-right">{{ vin.prevout.scriptpubkey_address | capAddress: 40: 10 }}</span> | ||||||
|                           </span> |                           </span> | ||||||
| @ -164,9 +164,9 @@ | |||||||
|                 'highlight': vout.scriptpubkey_address === this.address && this.address !== '' |                 'highlight': vout.scriptpubkey_address === this.address && this.address !== '' | ||||||
|               }"> |               }"> | ||||||
|                 <td> |                 <td> | ||||||
|                   <a *ngIf="vout.scriptpubkey_address; else scriptpubkey_type" [routerLink]="['/address/' | relativeUrl, vout.scriptpubkey_address]" title="{{ vout.scriptpubkey_address }}"> |                   <a class="shortable-address" *ngIf="vout.scriptpubkey_address; else scriptpubkey_type" [routerLink]="['/address/' | relativeUrl, vout.scriptpubkey_address]" title="{{ vout.scriptpubkey_address }}"> | ||||||
|                     <span class="d-block d-lg-none">{{ vout.scriptpubkey_address | shortenString : 16 }}</span> |                     <span class="d-block d-lg-none">{{ vout.scriptpubkey_address | shortenString : 16 }}</span> | ||||||
|                     <span class="d-none d-lg-flex justify-content-start"> |                     <span class="d-none d-lg-inline-flex justify-content-start"> | ||||||
|                       <span class="addr-left flex-grow-1" [style]="vout.scriptpubkey_address.length > 40 ? 'max-width: 235px' : ''">{{ vout.scriptpubkey_address }}</span> |                       <span class="addr-left flex-grow-1" [style]="vout.scriptpubkey_address.length > 40 ? 'max-width: 235px' : ''">{{ vout.scriptpubkey_address }}</span> | ||||||
|                       <span *ngIf="vout.scriptpubkey_address.length > 40" class="addr-right">{{ vout.scriptpubkey_address | capAddress: 40: 10 }}</span> |                       <span *ngIf="vout.scriptpubkey_address.length > 40" class="addr-right">{{ vout.scriptpubkey_address | capAddress: 40: 10 }}</span> | ||||||
|                     </span> |                     </span> | ||||||
|  | |||||||
| @ -852,6 +852,40 @@ th { | |||||||
|     } |     } | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  |   .fee-progress-bar { | ||||||
|  |     @extend .fee-progress-bar; | ||||||
|  |     &.priority { | ||||||
|  |       @media (767px < width < 992px), (width < 576px) { | ||||||
|  |         width: 100%; | ||||||
|  |       } | ||||||
|  |       width: 75%; | ||||||
|  |       border-radius: 10px 0px 0px 10px !important; | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .fees-wrapper-tooltip-chart { | ||||||
|  |     @extend .fees-wrapper-tooltip-chart; | ||||||
|  |     .title { | ||||||
|  |       direction: rtl; | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .btn-link { | ||||||
|  |     padding: 0.1rem 0.5rem 0.25rem 0 !important; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .shortable-address { | ||||||
|  |     direction: ltr; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .lastest-blocks-table { | ||||||
|  |     @extend .lastest-blocks-table; | ||||||
|  |     .table-cell-mined { | ||||||
|  |       @extend .table-cell-mined; | ||||||
|  |       text-align: right !important; | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|   .mempool-graph { |   .mempool-graph { | ||||||
|     @extend .mempool-graph; |     @extend .mempool-graph; | ||||||
|     direction: ltr; |     direction: ltr; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user