nicer sticky tables

This commit is contained in:
tresabhi committed 2026-12-03 22:41:44 -06:00
1 parent 38f751a8b0
commit 895f5b645f
17 files changed
+272 -155

No files matched your search

@@ -38,7 +38,7 @@ const { locale } = Astro.props;
</div>
</Section>
<Section overflow>
<Section>
<CompareTable {locale} client:load />
</Section>
</Sections>
@@ -1,6 +0,0 @@
.top {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-4);
}
@@ -3,18 +3,15 @@ import { PerformanceTable } from "../../../../components/PerformanceTable";
import { Section } from "../../../../components/Section";
import { withErrorWrapper } from "../../../../hocs/withErrorWrapper";
import { withLocale } from "../../../../hocs/withLocale";
import styles from "./_index.module.css";
export const Page = withLocale(
withErrorWrapper(() => (
<>
<Section>
<div className={styles.top}>
<PerformanceControls />
</div>
<PerformanceControls />
</Section>
<Section overflow>
<Section>
<PerformanceTable />
</Section>
</>
@@ -1,5 +1,6 @@
---
import ColorScale from "../../../../components/ColorScale.astro";
import Sections from "../../../../components/Sections.astro";
import ToolBanner from "../../../../components/ToolBanner.astro";
import { tools } from "../../../../config/tools";
import BaseLayout from "../../../../layouts/BaseLayout.astro";
@@ -18,5 +19,7 @@ const { locale } = Astro.props;
<BaseLayout tool={tools.performance} accent="jade" {locale}>
<!-- TODO: add svg art for this tool -->
<ToolBanner tool={tools.performance} {locale} />
<Page {locale} client:load />
<Sections>
<Page {locale} client:load />
</Sections>
</BaseLayout>
@@ -1,6 +1,5 @@
---
import ColorScale from "../../../../components/ColorScale.astro";
import { ScrollerCurtains } from "../../../../components/ScrollerCurtains";
import { Section } from "../../../../components/Section";
import { TankSearchFilters } from "../../../../components/TankSearchFilters";
import { TierListControls } from "../../../../components/TierListControls";
@@ -36,8 +35,7 @@ const { locale } = Astro.props;
<TierListTable {locale} client:load />
</Section>
<Section overflow>
<ScrollerCurtains client:load />
<Section>
<TankSearchFilters {locale} client:load />
</Section>