Merge pull request #3196 from mempool/hunicus/electrum-responsive

Only show electrum tab on desktop
This commit is contained in:
wiz authored and GitHub committed 2023-03-02 23:46:34 +09:00
commit 0382f11052
2 files changed
+7 -1

No files matched your search

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