Ver código fonte

html 由固定 height: 100% 改為 min-height: 100%/100dvh,避免長頁底部露出白邊。

fix負數倉
CANCERYS\kw093 1 mês atrás
pai
commit
72c8f5bafd
1 arquivos alterados com 7 adições e 2 exclusões
  1. +7
    -2
      src/app/global.css

+ 7
- 2
src/app/global.css Ver arquivo

@@ -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;


Carregando…
Cancelar
Salvar