diff --git a/control/frontend/src/App.tsx b/control/frontend/src/App.tsx
index 1e7f7de..90d9d0f 100644
--- a/control/frontend/src/App.tsx
+++ b/control/frontend/src/App.tsx
@@ -57,7 +57,6 @@ function Shell({ children }: { children: ReactNode }) {
对冲舰队指挥中心
—— 比特骆驼定制开发
-
- {!lanClient ? (
-
- {user}
-
-
- ) : null}
+
+
+ {!lanClient ? (
+ <>
+ {user}
+
+ >
+ ) : null}
+
{children}
diff --git a/control/frontend/src/styles.css b/control/frontend/src/styles.css
index 4b9cd7b..dd013c9 100644
--- a/control/frontend/src/styles.css
+++ b/control/frontend/src/styles.css
@@ -58,12 +58,10 @@ body {
}
.header-top {
- position: relative;
display: flex;
justify-content: center;
align-items: flex-start;
padding: 4px 0 2px;
- min-height: 3.2rem;
}
.header-title-wrap {
@@ -102,45 +100,26 @@ body {
}
.header-beijing-time {
- position: absolute;
- right: 0;
- top: 50%;
- transform: translateY(-50%);
display: flex;
- flex-direction: column;
- align-items: flex-end;
- gap: 2px;
- z-index: 1;
- pointer-events: none;
+ flex-direction: row;
+ align-items: baseline;
+ gap: 8px;
+ flex-shrink: 0;
}
.header-beijing-label {
- font-size: 0.72rem;
- letter-spacing: 0.12em;
- color: var(--muted);
-}
-
-.header-beijing-value {
font-size: 0.95rem;
- color: var(--accent);
- text-shadow: var(--glow);
+ letter-spacing: 0.1em;
+ color: var(--muted);
white-space: nowrap;
}
-@media (max-width: 1100px) {
- .header-top {
- flex-direction: column;
- align-items: center;
- gap: 10px;
- min-height: 0;
- }
-
- .header-beijing-time {
- position: static;
- transform: none;
- align-items: center;
- pointer-events: auto;
- }
+.header-beijing-value {
+ font-size: 1.15rem;
+ font-weight: 650;
+ color: var(--accent);
+ text-shadow: var(--glow);
+ white-space: nowrap;
}
.header-bar {