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