Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

fix(login): the language picker's safe-area offset as classes, within the file's size baseline

Mauriceab6cd7009ebf
diff --git a/client/src/pages/LoginPage.tsx b/client/src/pages/LoginPage.tsx
index d9f59878c..8f9a0886f 100644
--- a/client/src/pages/LoginPage.tsx
+++ b/client/src/pages/LoginPage.tsx
@@ -229,7 +229,7 @@ export default function LoginPage(): React.ReactElement {
return (
<div style={{ minHeight: '100vh', display: 'flex', fontFamily: 'var(--font-system)', position: 'relative' }}>
{/* Language dropdown, below the status bar in the app and under a notch, not behind them */}
- <div style={{ position: 'absolute', top: 'calc(env(safe-area-inset-top, 0px) + 16px)', insetInlineEnd: 16, zIndex: 10 }}>
+ <div className="absolute end-4 top-[calc(env(safe-area-inset-top,0px)+16px)] z-10">
<button type="button"
onClick={(e) => {
e.stopPropagation();