fix(ui): vertical centering — make app main a flex column
App.tsx <main> was flex-1 but not a flex container itself, so child routes with h-full + grid place-items-center couldn't resolve their height for vertical centering. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
66c737188b
commit
43fdb7e189
1 file changed
+1
-1
+1
-1
@@ -12,7 +12,7 @@ function AppShell() {
|
||||
const hideFooter = useLocation().pathname === '/svg-editor'
|
||||
return (
|
||||
<div className="flex min-h-screen flex-col">
|
||||
<main className="flex-1">
|
||||
<main className="flex-1 flex flex-col">
|
||||
<Routes>
|
||||
<Route path="/" element={<HomeRoute />} />
|
||||
<Route path="/new" element={<NewReportRoute />} />
|
||||
|
||||
Reference in new issue
Block a user