From 72c8f5bafd541915cea306abef68bacddab69c5a Mon Sep 17 00:00:00 2001 From: "CANCERYS\\kw093" Date: Thu, 6 Aug 2026 18:11:30 +0800 Subject: [PATCH] =?UTF-8?q?html=20=E7=94=B1=E5=9B=BA=E5=AE=9A=20height:=20?= =?UTF-8?q?100%=20=E6=94=B9=E7=82=BA=20min-height:=20100%=EF=BC=8F100dvh?= =?UTF-8?q?=EF=BC=8C=E9=81=BF=E5=85=8D=E9=95=B7=E9=A0=81=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E9=9C=B2=E5=87=BA=E7=99=BD=E9=82=8A=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/global.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/app/global.css b/src/app/global.css index 61f2c223..8ab7c6a9 100644 --- a/src/app/global.css +++ b/src/app/global.css @@ -2,6 +2,8 @@ @tailwind components; @tailwind utilities; +/* FP-MTMS Version Checklist | Functions Ref. No. 57 | v1.0.0 | 2026-08-06 */ + /* UI standard: light default, primary #3b82f6, accent #10b981 */ @layer base { :root { @@ -41,11 +43,14 @@ html:has([data-po-workbench-layout]) body { /* Tablet/mobile: stable layout when virtual keyboard opens */ html { - /* Prefer dynamic viewport height so layout can adapt to keyboard (if browser resizes) */ - height: 100%; + /* min-height (not height) so the document can grow with content; + fixed height: 100% locked the box to the viewport and exposed white below long pages. */ + min-height: 100%; + min-height: 100dvh; /* Base font size: slightly larger for readability */ font-size: 16px; } + @media (min-width: 640px) { html { font-size: 17px;