Merge pull request #3196 from mempool/hunicus/electrum-responsive
Only show electrum tab on desktop
This commit is contained in:
		
						commit
						0382f11052
					
				@ -32,7 +32,7 @@
 | 
			
		||||
        </ng-template>
 | 
			
		||||
      </li>
 | 
			
		||||
 | 
			
		||||
      <li [ngbNavItem]="3" *ngIf="showElectrsTab" role="presentation">
 | 
			
		||||
      <li [ngbNavItem]="3" *ngIf="showElectrsTab" role="presentation" class="hide-on-mobile">
 | 
			
		||||
        <a ngbNavLink [routerLink]="['/docs/api/electrs' | relativeUrl]" role="tab">API - Electrum RPC</a>
 | 
			
		||||
        <ng-template ngbNavContent>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -7,3 +7,9 @@
 | 
			
		||||
#footer {
 | 
			
		||||
  clear: both;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@media (max-width: 992px) {
 | 
			
		||||
  .hide-on-mobile {
 | 
			
		||||
    display: none;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user