Only show electrum tab on desktop

This commit is contained in:
hunicus 2023-03-02 23:38:47 +09:00
parent decc96d293
commit 89d9c1d78d
No known key found for this signature in database
GPG Key ID: 24837C51B6D81FD9
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;
}
}