Fix Goggles title alignment
This commit is contained in:
		
							parent
							
								
									d7be5a4737
								
							
						
					
					
						commit
						3ceb583127
					
				| @ -18,15 +18,15 @@ | |||||||
|       <div class="card graph-card"> |       <div class="card graph-card"> | ||||||
|         <div class="card-body pl-lg-3 pr-lg-3 pl-2 pr-2"> |         <div class="card-body pl-lg-3 pr-lg-3 pl-2 pr-2"> | ||||||
|           <ng-template [ngIf]="(network$ | async) !== 'liquid'" [ngIfElse]="liquidPegs"> |           <ng-template [ngIf]="(network$ | async) !== 'liquid'" [ngIfElse]="liquidPegs"> | ||||||
|             <a class="title-link mb-0" href="" [routerLink]="['/mempool-block/0' | relativeUrl]"> |             <a class="title-link mb-0" style="margin-top: -2px" href="" [routerLink]="['/mempool-block/0' | relativeUrl]"> | ||||||
|               <h5 class="card-title d-inline" i18n="dashboard.mempool-goggles-next-block">Mempool Goggles: {{ goggleCycle[goggleIndex].name }}</h5> |               <h5 class="card-title d-inline"><span i18n="dashboard.mempool-goggles">Mempool Goggles</span>: {{ goggleCycle[goggleIndex].name }}</h5> | ||||||
|               <span> </span> |               <span> </span> | ||||||
|               <fa-icon [icon]="['fas', 'external-link-alt']" [fixedWidth]="true" style="vertical-align: text-top; font-size: 13px; color: #4a68b9"></fa-icon> |               <fa-icon [icon]="['fas', 'external-link-alt']" [fixedWidth]="true" style="vertical-align: text-top; font-size: 13px; color: #4a68b9"></fa-icon> | ||||||
|             </a> |             </a> | ||||||
|             <div class="quick-filter"> |             <div class="quick-filter"> | ||||||
|               <ng-container *ngFor="let filter of goggleCycle"> |               <ng-container *ngFor="let filter of goggleCycle"> | ||||||
|                 <div |                 <div | ||||||
|                   class="badge badge-primary" |                   class="goggle-badge badge badge-primary" | ||||||
|                   [class.active]="filter.index === goggleIndex" |                   [class.active]="filter.index === goggleIndex" | ||||||
|                   (click)="goggleIndex = filter.index" |                   (click)="goggleIndex = filter.index" | ||||||
|                 >{{ filter.name }}</div> |                 >{{ filter.name }}</div> | ||||||
|  | |||||||
| @ -389,7 +389,7 @@ | |||||||
|   } |   } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .badge { | .goggle-badge { | ||||||
|   margin: 6px 5px 8px; |   margin: 6px 5px 8px; | ||||||
|   background: none; |   background: none; | ||||||
|   border: solid 2px #105fb0; |   border: solid 2px #105fb0; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user