feat: add gaps

This commit is contained in:
tresabhi committed 2024-11-26 20:24:36 -06:00
1 parent ef91eadaea
commit 53d811eeef
1 file changed
+8 -6
@@ -1,4 +1,5 @@
import type { TankDefinition } from '@blitzkit/core';
import { Box } from '@radix-ui/themes';
import {
useCallback,
useEffect,
@@ -162,14 +163,15 @@ export function TierListTile(props: TierListTileProps) {
}, []);
return (
<TankCard
<Box
p="2"
ref={card}
data-tile-index={props.isPlaced ? props.tileIndex : undefined}
data-tile-id={props.tank.id}
ref={card}
noLink
tank={props.tank}
style={{ cursor: 'grab', touchAction: 'none' }}
onPointerDown={handlePointerDown}
/>
style={{ cursor: 'grab', touchAction: 'none' }}
>
<TankCard noLink tank={props.tank} />
</Box>
);
}