diff --git a/src/app/globals.css b/src/app/globals.css index 5baafe2..6c7d460 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1,5 +1,11 @@ @import "tailwindcss"; +/* Height-based variants for short landscape phones (wide but short, where the + width-based sm: roominess would otherwise overflow vertically). Use `short:` + to compact and `tall:` for genuinely tall screens. */ +@custom-variant short (@media (max-height: 520px)); +@custom-variant tall (@media (min-height: 700px)); + /* FlatRender Hokm — "Persian Luxury" theme. Deep navy/teal table, gold filigree accents, geometric motifs. diff --git a/src/components/HomeScreen.tsx b/src/components/HomeScreen.tsx index 25b1626..8bf268b 100644 --- a/src/components/HomeScreen.tsx +++ b/src/components/HomeScreen.tsx @@ -94,17 +94,17 @@ export function HomeScreen() { > {/* logo + title on one row (no overflow); subtitle beneath the title */}
{t("app.subtitle")}