mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-29 04:44:23 +01:00
cleanup
This commit is contained in:
1 parent
ba1f530de7
commit
5477616917
8 files changed
+81
-37
No files matched your search
@@ -1,3 +1,7 @@
|
||||
.recent {
|
||||
/* mt="2" mb="6" */
|
||||
padding: var(--space-4);
|
||||
|
||||
background-color: var(--gray-a2);
|
||||
|
||||
border-radius: var(--space-3);
|
||||
}
|
||||
@@ -6,7 +6,6 @@ import { TankFilters } from "../../stores/tankFilters";
|
||||
import { TankopediaPersistent } from "../../stores/tankopediaPersistent";
|
||||
import { TankSort } from "../../stores/tankopediaSort";
|
||||
import { Flex } from "../Flex";
|
||||
import { Separator } from "../Separator";
|
||||
import { TankCard } from "../TankCard";
|
||||
import { TankCardWrapper } from "../TankCardWrapper";
|
||||
import { Text } from "../Text";
|
||||
@@ -38,17 +37,16 @@ export function RecentlyViewedTanks() {
|
||||
}
|
||||
|
||||
return (
|
||||
<Flex column gap="2" className={styles.recent}>
|
||||
<Text color="gray" align="center">
|
||||
<Flex column gap="4" className={styles.recent}>
|
||||
<Text color="gray" lowContrast>
|
||||
{strings.website.common.tank_search.recent}
|
||||
</Text>
|
||||
<TankCardWrapper>
|
||||
|
||||
<TankCardWrapper compact>
|
||||
{recentlyViewed.map((id) => (
|
||||
<TankCard tank={tankDefinitions.tanks[id]} key={id} />
|
||||
<TankCard compact tank={tankDefinitions.tanks[id]} key={id} />
|
||||
))}
|
||||
</TankCardWrapper>
|
||||
|
||||
<Separator />
|
||||
</Flex>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user