ui: improve mobile tab scrolling

This commit is contained in:
2026-04-11 18:14:50 +02:00
parent 76e9309e0d
commit d07ba90892

View File

@@ -747,6 +747,7 @@ main {
.view-toggle a, .view-toggle a,
.status-tabs a, .status-tabs a,
.tab { .tab {
flex: 0 0 auto;
border: none; border: none;
background: var(--panel-soft); background: var(--panel-soft);
color: var(--text-muted); color: var(--text-muted);
@@ -755,6 +756,7 @@ main {
font-family: var(--font); font-family: var(--font);
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
white-space: nowrap;
} }
.view-toggle a:hover, .view-toggle a:hover,
@@ -1235,7 +1237,15 @@ main {
.view-toggle { .view-toggle {
flex-wrap: nowrap; flex-wrap: nowrap;
overflow-x: auto; overflow-x: auto;
padding-bottom: 2px; gap: var(--space-2);
padding-bottom: var(--space-1);
-webkit-overflow-scrolling: touch;
}
.status-tabs a,
.tabs .tab,
.view-toggle a {
padding: 0.34rem 0.62rem;
} }
.watchlist-table { .watchlist-table {