fix: 去掉顶栏版本副标题

This commit is contained in:
2026-11-09 15:15:09 +08:00
parent e0831c4635
commit 7611422253
2 changed files with 1 additions and 4 deletions
+1 -2
View File
@@ -84,7 +84,6 @@ html, body { height: 100%; overflow: hidden; }
.etl-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.etl-brand-icon svg { width: 34px; height: 34px; display: block; }
.etl-brand-title { font-size: 16px; font-weight: 600; line-height: 1.25; }
.etl-brand-sub { font-size: 12px; color: var(--etl-muted); line-height: 1.25; }
.etl-tabs { flex: 1; min-width: 0; align-self: stretch; color: var(--etl-muted); }
.etl-tabs .q-tabs__content { height: 60px; }
.etl-tabs .q-tab { min-height: 60px; padding: 0 14px; }
@@ -309,7 +308,7 @@ html, body { height: 100%; overflow: hidden; }
.etl-panel.etl-panel-fit { overflow: auto; }
.etl-log-card .etl-log { min-height: 240px; }
.etl-recent { min-height: 220px; }
.etl-user-name, .etl-brand-sub { display: none; }
.etl-user-name { display: none; }
}
@media (max-width: 720px) {
.etl-header-inner { gap: 12px; padding: 0 12px; }
-2
View File
@@ -12,7 +12,6 @@ from nicegui import Client, background_tasks, run, ui
from nicegui.element import Element
from nicegui.elements.mixins.value_element import ValueElement
from . import __version__
from .auth import Identity, identify
from .config import SettingsError, public_view
from .data import NETWORK_TYPES, PAGE_SIZES, SORT_ORDERS, DataQuery, difference
@@ -159,7 +158,6 @@ class AdminPage:
ui.html(ICON_SVG, sanitize=False).classes("etl-brand-icon")
with ui.element("div").classes("etl-brand-text"):
ui.label(t("app.title")).classes("etl-brand-title")
ui.label(f"InterferenceETL · v{__version__}").classes("etl-brand-sub")
with ui.tabs(value=self.initial_tab, on_change=self.change_tab).props(
"no-caps dense align=left indicator-color=primary narrow-indicator"
).classes("etl-tabs") as tabs: