Only show electrum tab on desktop

This commit is contained in:
hunicus 2023-03-02 23:38:47 +09:00
parent da8003dbb6
commit 737b2f1a9c
2 changed files with 7 additions and 1 deletions

View File

@ -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>

View File

@ -7,3 +7,9 @@
#footer {
clear: both;
}
@media (max-width: 992px) {
.hide-on-mobile {
display: none;
}
}