diff --git a/packages/website/src/components/Compare/CompareTable.tsx b/packages/website/src/components/Compare/CompareTable.tsx index d478455bb..cda92bb10 100644 --- a/packages/website/src/components/Compare/CompareTable.tsx +++ b/packages/website/src/components/Compare/CompareTable.tsx @@ -46,7 +46,10 @@ export function CompareTable({ stats }: CompareTableProps) { size="1" variant="surface" style={{ + position: 'absolute', maxWidth: '100%', + maxHeight: '100%', + height: '100%', // height: 'calc(100vh - 128px)' }} > diff --git a/packages/website/src/layouts/BaseLayout.astro b/packages/website/src/layouts/BaseLayout.astro index c35cf4bdf..8ed4cd9da 100644 --- a/packages/website/src/layouts/BaseLayout.astro +++ b/packages/website/src/layouts/BaseLayout.astro @@ -7,6 +7,11 @@ import Navbar from '../components/Navbar.astro'; import Party3 from '../components/Party3.astro'; import './base.css'; +export interface Props { + noFooter?: boolean; +} + +const { noFooter } = Astro.props; const { pathname } = Astro.url; const isRoot = pathname === '/'; --- @@ -42,7 +47,7 @@ const isRoot = pathname === '/'; -