Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

address review (codex): h-screen + h-[100dvh] pairing never overrode vh

[._.]/ Adam Eivy5439228cc04a
diff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsx
index ef8fa1ca9f..cae3bc99af 100644
--- a/client/src/components/Layout.jsx
+++ b/client/src/components/Layout.jsx
@@ -871,7 +871,7 @@ export default function Layout() {
};
return (
- <div className="h-screen h-[100dvh] print:h-auto print:min-h-screen w-full max-w-full overflow-x-hidden bg-port-bg flex">
+ <div className="h-dvh-screen print:h-auto print:min-h-screen w-full max-w-full overflow-x-hidden bg-port-bg flex">
{/* Skip to main content link for keyboard users */}
<a
href="#main-content"
@@ -894,7 +894,7 @@ export default function Layout() {
{/* Sidebar */}
<aside
className={`
- fixed inset-y-0 left-0 z-50 h-screen h-[100dvh] print:hidden
+ fixed inset-y-0 left-0 z-50 h-dvh-screen print:hidden
flex flex-col bg-port-card border-r border-port-border
transition-all duration-300 ease-in-out
${mobileOpen ? 'translate-x-0' : '-translate-x-full lg:translate-x-0'}
diff --git a/client/src/index.css b/client/src/index.css
index 2fd903efa5..35a5b8398f 100644
--- a/client/src/index.css
+++ b/client/src/index.css
@@ -129,6 +129,20 @@ body {
min-height: 100dvh;
}
+/* Tailwind v4 sorts generated utility classes into a canonical order (by
+ bucket, then alphabetically) rather than preserving JSX className source
+ order, so pairing `h-screen h-[100dvh]` on one element does NOT give
+ `h-[100dvh]` cascade priority as the "h-screen now, h-[100dvh] override"
+ naming suggests — `.h-screen` is emitted after `.h-[100dvh]` in the
+ compiled stylesheet and wins outright, silently defeating the dvh fix.
+ This plain-CSS class declares the same property twice in real source
+ order (mirrors the #root rule above) so the dvh value reliably overrides
+ the vh fallback in browsers that support it. */
+.h-dvh-screen {
+ height: 100vh;
+ height: 100dvh;
+}
+
body::before {
content: "";
position: fixed;