From 7fcd4a1e9413c111ea81e282e0f4f1740988b0d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Fri, 16 Aug 2024 21:10:14 -0500 Subject: [PATCH] feat: better flags --- .../tankopedia/[id]/components/Model/TechTreeSection.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/tools/tankopedia/[id]/components/Model/TechTreeSection.tsx b/src/app/tools/tankopedia/[id]/components/Model/TechTreeSection.tsx index 59c0d654a..adee7b1f0 100644 --- a/src/app/tools/tankopedia/[id]/components/Model/TechTreeSection.tsx +++ b/src/app/tools/tankopedia/[id]/components/Model/TechTreeSection.tsx @@ -29,11 +29,10 @@ function Card({ id, highlight }: { id: number; highlight?: boolean }) { mx={highlight ? '2' : '0'} style={{ background: highlight - ? `url(${asset(`flags/scratched/${tank.nation}.webp`)})` + ? `url(${asset(`flags/fade_small/${tank.nation}.webp`)})` : undefined, - backgroundPosition: '25% center', + backgroundPosition: 'center', backgroundSize: 'cover', - backgroundRepeat: 'no-repeat', boxShadow: highlight ? 'var(--shadow-4)' : undefined, borderRadius: 'var(--radius-4)', overflow: 'hidden',