Skip to content

Commit 8189761

Browse files
committed
Dashboard: Stick project links footer at the bottom of page
1 parent 27f50a8 commit 8189761

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apps/dashboard/src/@/components/blocks/project-page/project-page.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type ProjectPageProps = {
2121

2222
export function ProjectPage(props: React.PropsWithChildren<ProjectPageProps>) {
2323
return (
24-
<div className={cn("flex flex-col pb-20", props.footer && "pb-0")}>
24+
<div className="flex flex-col grow">
2525
<div className={cn(!props.tabs && "border-b")}>
2626
<ProjectPageHeader {...props.header} />
2727
{props.tabs && (
@@ -33,8 +33,9 @@ export function ProjectPage(props: React.PropsWithChildren<ProjectPageProps>) {
3333
</div>
3434

3535
<main className="container max-w-7xl pt-6">{props.children}</main>
36+
<div className="h-20" />
3637
{props.footer && (
37-
<div className="border-t mt-20">
38+
<div className="border-t mt-auto">
3839
<ProjectPageFooter {...props.footer} />
3940
</div>
4041
)}

0 commit comments

Comments
 (0)