fix: hide admin i18n/settings icons and widen portal content.

Disable unused header language/settings switches and raise homepage wrap width from 1140px to 1320px for both templates.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-11-10 11:12:36 +08:00
1 parent c3eac4c5d4
commit 7356ea91d3
3 files changed
+12 -5

No files matched your search

+7
View File
@@ -35,3 +35,10 @@ coverage/
*.log
*.pid
target/
# personal-dev:begin
/.local/agent/
# personal-dev:end
# Agent operation credentials (never commit)
/.local/secrets/
+2 -2
View File
@@ -47,11 +47,11 @@ export const headerBarConfig: HeaderBarFeatureConfig = {
description: '聊天功能,提供实时沟通'
},
language: {
enabled: true,
enabled: false,
description: '多语言切换功能'
},
settings: {
enabled: true,
enabled: false,
description: '系统设置面板'
},
themeToggle: {
+3 -3
View File
@@ -11,7 +11,7 @@
background: var(--bg);
}
.data a { color: inherit; text-decoration: none; }
.wrap { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.wrap { width: min(1320px, calc(100% - 32px)); margin: 0 auto; }
.list { margin: 0; padding: 0; list-style: none; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.list time { flex: none; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
@@ -223,7 +223,7 @@
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
align-items: center;
column-gap: 28px;
width: min(1140px, calc(100% - 32px));
width: min(1320px, calc(100% - 32px));
margin: 0 auto;
padding: 28px 0 22px;
}
@@ -374,7 +374,7 @@
display: flex;
flex-direction: column;
align-items: center;
width: min(1140px, calc(100% - 32px));
width: min(1320px, calc(100% - 32px));
}
#brand .brand-head::before { content: none; }
#brand .brand-head > .wrap { width: 100%; }