Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/CatalogCard/CatalogCard.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import { CatalogCardProps } from './CatalogCard.types'
// the info section below doesn't need, so hover-revealed rows (bottomAction / action /
// extraInformation) shrink the image by EXACTLY their own height — no fixed jump, and no
// shrink at all when the card has nothing to reveal.
const AssetImageContainer = styled(AssetImage)(({ rarity }) => ({
const AssetImageContainer = styled(AssetImage)(({ theme, rarity }) => ({
borderRadius: '12px 12px 0 0',
backgroundImage: 'none',
backgroundColor: Rarity.getColor(rarity),
backgroundColor: theme.palette.rarities[rarity],
flex: '1 1 auto',
minHeight: 0,
height: 'auto',
Expand Down
Loading