From 0009aa7e88280e718d9469fceac4f33c97417af7 Mon Sep 17 00:00:00 2001 From: bwstudio Date: Wed, 10 Jun 2026 21:41:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B6=85=E5=AE=BD=E5=B1=8F=E5=A1=AB?= =?UTF-8?q?=E6=BB=A1=E5=B1=8F=E5=B9=95=EF=BC=8C=E5=8E=BB=E9=99=A4=E5=B7=A6?= =?UTF-8?q?=E4=BE=A7=E7=A9=BA=E7=99=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/App.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/web/src/App.vue b/web/src/App.vue index d2c7ef8..57b72c6 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -255,6 +255,8 @@ onMounted(async () => { --content-max-width: 1440px; /* 顶部导航高度 */ --header-height: 64px; + /* 两侧内边距 */ + --content-padding: 24px; } /* 平板(768px+)显示副导航 */ @@ -272,6 +274,19 @@ onMounted(async () => { } } +/* 超宽屏填满屏幕,去掉居中限制 */ +@media (min-width: 1400px) { + :root { + --content-max-width: 100%; + --content-padding: 32px; + } +} +@media (min-width: 1600px) { + :root { + --content-padding: 48px; + } +} + /* ============================================================ 全局基础样式 ============================================================ */