flexbox update

This commit is contained in:
2024-02-29 20:25:41 -05:00
parent e8a8c64e39
commit 18f95460a2
9 changed files with 165 additions and 16 deletions
@@ -9,11 +9,11 @@ interface HomepageModuleProps {
const HomepageModule = ({ title, children }: HomepageModuleProps) => {
return (
<div className="h-full bg-neutral-800 rounded-lg">
<div className="flex flex-col h-full bg-neutral-800 rounded-lg">
<div className="flex justify-between px-2 py-2 pb-0">
<div className="flex items-center text-lg px-2">{title}</div>
</div>
<div className="h-3/4 w-full">{children}</div>
<div className="flex-grow w-full overflow-hidden">{children}</div>
</div>
);
};