From 8e10ea2cf0e2278ba7b34e68c4403f18687b9071 Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Thu, 6 Aug 2026 18:33:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AB=96=E5=B1=8F=E6=89=8B?= =?UTF-8?q?=E6=9C=BAoverlay=E5=B1=85=E4=B8=AD=E6=BA=A2=E5=87=BA=E6=BB=9A?= =?UTF-8?q?=E4=B8=8D=E5=88=B0=E9=A1=B6=EF=BC=9Amax-height=20760px=E4=BB=A5?= =?UTF-8?q?=E4=B8=8B=E5=A4=8D=E7=94=A8=E6=A8=AA=E5=B1=8F=E7=9A=84flex-star?= =?UTF-8?q?t+=E4=BC=AA=E5=85=83=E7=B4=A0=E7=95=99=E7=99=BD=E6=96=B9?= =?UTF-8?q?=E6=A1=88=EF=BC=88=E8=87=AA=E9=80=89=E6=AD=A6=E8=A3=85=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF=E8=B8=A9=E5=9D=91=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- star-raid/css/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/star-raid/css/style.css b/star-raid/css/style.css index c3aea78..d074b6a 100644 --- a/star-raid/css/style.css +++ b/star-raid/css/style.css @@ -168,6 +168,14 @@ h1.logo{font-size:clamp(20px,5.4vw,44px);color:#fff;letter-spacing:4px;line-heig .lb-list{flex:1;min-height:100px;overflow-y:auto} .lb-empty{color:var(--dim);font-size:clamp(7px,1.3vw,9px);padding:14px 0;letter-spacing:2px} +/* ---------- 竖屏矮屏(手机):内容超屏的 overlay 改顶部对齐,防止居中溢出顶部被裁不可滚到顶 ---------- */ +@media (max-height: 760px){ + .ovl:not(#o-home):not(#o-demo){justify-content:flex-start} + .ovl:not(#o-home):not(#o-demo)::before, + .ovl:not(#o-home):not(#o-demo)::after{content:"";flex:1 0 auto;min-height:8px} + .ovl{gap:6px} +} + /* ---------- 横屏:中间竖屏显示区域(letterbox),UI 收紧 ---------- */ @media (orientation: landscape){ #wrap{position:fixed;inset:0;margin:auto;width:min(100vw,calc(100dvh * 0.75));height:auto;aspect-ratio:3/4}