Skip to content

Commit fb92f87

Browse files
committed
Fix body height issue in dashboard (#4724)
Fixes body not expanding to content size: ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/de2d88d4-db8c-4325-9135-8fc3d400a75b.png)
1 parent 63ada20 commit fb92f87

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

apps/dashboard/src/@/styles/globals.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,10 @@
140140
}
141141
}
142142

143-
body,
144143
html {
145144
height: 100%;
146145
}
146+
147+
body {
148+
min-height: 100%;
149+
}

apps/dashboard/src/app/team/[team_slug]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default function RootTeamLayout(props: {
66
params: { team_slug: string };
77
}) {
88
return (
9-
<div className="min-h-full flex flex-col bg-background">
9+
<div className="min-h-screen flex flex-col">
1010
<div className="grow flex flex-col">{props.children}</div>
1111
<TWAutoConnect />
1212
<AppFooter />

0 commit comments

Comments
 (0)