fix: compare table occupy minimum width

This commit is contained in:
TrèsAbhi committed 2025-11-27 17:31:28 -06:00
1 parent 9b842c501c
commit 8bc0693f3b
2 files changed
+5 -7

No files matched your search

@@ -51,19 +51,17 @@ export function CompareTable({ stats }: CompareTableProps) {
variant="surface" variant="surface"
style={{ style={{
position: "absolute", position: "absolute",
width: "100%", maxWidth: "100%",
height: "100%", height: "100%",
borderRadius: 0, borderBottomRightRadius: 0,
borderBottomLeftRadius: 0,
}} }}
> >
<Table.Header> <Table.Header>
<Table.Row> <Table.Row>
<StickyColumnHeaderCell width="0" style={{ height: "100%" }}> <StickyColumnHeaderCell width="0" style={{ height: "100%" }}>
<Flex <Flex
style={{ style={{ width: "100%", height: "100%" }}
width: "100%",
height: "100%",
}}
align="center" align="center"
justify="center" justify="center"
> >
@@ -102,7 +102,7 @@ export function TankCard({ index, tank }: TankCardProps) {
}, []); }, []);
return ( return (
<StickyColumnHeaderCell> <StickyColumnHeaderCell width="0">
<Flex direction="column" align="center" justify="between" gap="2"> <Flex direction="column" align="center" justify="between" gap="2">
<TankControl index={index} key={tank.id} slug={tank.slug} /> <TankControl index={index} key={tank.id} slug={tank.slug} />