feat: better icons and sizing

This commit is contained in:
tresabhi committed 2024-12-16 13:30:35 -06:00
1 parent 3c9ba9ec53
commit 382f04229e
7 files changed
+24 -10

No files matched your search

@@ -4,7 +4,10 @@ export function TankCardWrapper(props: GridProps) {
return (
<Grid
py="4"
columns="repeat(auto-fill, minmax(100px, 1fr))"
columns={{
initial: 'repeat(auto-fill, minmax(6rem, 1fr))',
sm: 'repeat(auto-fill, minmax(7rem, 1fr))',
}}
flow="dense"
gap="2"
gapY="6"
@@ -39,8 +39,8 @@ type TankSearchProps = Omit<FlexProps, 'onSelect'> & {
onSelectAll?: (tanks: TankDefinition[]) => void;
};
const PREVIEW_COUNT = 25;
const DEFAULT_LOADED_CARDS = 75;
const PREVIEW_COUNT = 20;
const DEFAULT_LOADED_CARDS = 64;
const [gameDefinitions, modelDefinitions, tankDefinitions, tankNames] =
await Promise.all([