feat(hub): settings toggles for funds and dashboard nav

Add show_nav_funds and show_nav_dashboard in hub_settings display prefs to hide top nav entries and redirect direct URL access.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-11 11:00:19 +08:00
parent 07e8604ea6
commit 007e089121
6 changed files with 89 additions and 14 deletions
+11
View File
@@ -326,6 +326,10 @@ a:hover {
transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.top-nav a.nav-hidden {
display: none !important;
}
.top-nav a:hover {
color: var(--text);
background: var(--panel-hover);
@@ -2176,9 +2180,16 @@ button.btn-sm {
}
.settings-display-chk {
display: flex;
align-items: center;
gap: 8px;
font-size: 0.88rem;
}
.settings-display-chk + .settings-display-chk {
margin-top: 8px;
}
.settings-display-hint {
margin: 8px 0 0;
font-size: 0.78rem;