fix: better tankopedia search page padding

This commit is contained in:
TrèsAbhi committed 2024-07-27 13:33:45 -05:00
1 parent 47d7ebb15f
commit 3071c887cc
2 files changed
+2 -9

No files matched your search

@@ -55,7 +55,7 @@ export function SearchBar({ topResult, onSelect }: SearchBarProps) {
);
return (
<Flex justify="center">
<Flex justify="center" mt="4">
<Flex gap="2" flexGrow="1">
<TextField.Root
style={{ flex: 1 }}
@@ -399,14 +399,7 @@ export const TankSearch = memo<TankSearchProps>(
<FilterControl compact={compact} />
)}
<Flex
py="2"
mt="2"
gap="1"
align="center"
justify="center"
direction="column"
>
<Flex mt="2" gap="1" align="center" justify="center" direction="column">
<Flex gap="2">
<Text color="gray">
{tanksFiltered.length} tank{tanksFiltered.length === 1 ? '' : 's'}