From aed2744b42efd3d9155d225ab44b5db58681c79f Mon Sep 17 00:00:00 2001 From: smail Date: Mon, 31 Aug 2026 23:34:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E5=BA=A6=E5=B1=85=E4=B8=AD=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E5=90=91=E5=AF=BC=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/src/views/Setup/Setup.css | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/fe/src/views/Setup/Setup.css b/fe/src/views/Setup/Setup.css index c2731d0..6a15852 100644 --- a/fe/src/views/Setup/Setup.css +++ b/fe/src/views/Setup/Setup.css @@ -1320,3 +1320,29 @@ line-height: 1.35; } } + +/* 桌面端适度居中,并为欢迎页保留更舒适的展示高度。 */ +@media (min-width: 761px) { + #main.setup-page #status, + #main.setup-page .ctn, + #main.setup-page .setup-actions { + width: min(100%, 1280px); + margin-inline: auto; + } + + #main.setup-page:not(.dns-page) .ctn:not(.setup-form-panel) { + min-height: clamp(180px, 23vh, 230px); + align-items: center; + } + + #main.setup-page:not(.dns-page) .ctn:not(.setup-form-panel) .desc { + flex: 0 1 960px; + width: min(100%, 960px); + margin-inline: auto; + } + + #main.setup-page:not(.dns-page) .setup-form-panel .desc { + flex: none; + max-width: none; + } +} \ No newline at end of file