From ec84d886bd60aaa6f28a47c6ae1a26381672deb0 Mon Sep 17 00:00:00 2001 From: Calli Date: Fri, 23 Jun 2023 19:40:34 +0300 Subject: [PATCH] pack planet cards more compactly --- .../components/PlanetaryInteraction/NoPlanetCard.tsx | 10 ++-------- src/app/components/PlanetaryInteraction/PlanetCard.tsx | 4 ++-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/app/components/PlanetaryInteraction/NoPlanetCard.tsx b/src/app/components/PlanetaryInteraction/NoPlanetCard.tsx index cfb1300..de0ac3d 100644 --- a/src/app/components/PlanetaryInteraction/NoPlanetCard.tsx +++ b/src/app/components/PlanetaryInteraction/NoPlanetCard.tsx @@ -11,14 +11,8 @@ const StackItem = styled(Stack)(({ theme }) => ({ export const NoPlanetCard = ({}: {}) => { return ( - - + + ({ ...theme.typography.body2, padding: 0, + margin: "0 !important", textAlign: "left", justifyContent: "center", alignItems: "center", @@ -95,13 +96,12 @@ export const PlanetCard = ({ getPlanet(character, planet).then(setPlanetInfo); }, [planet, character]); return ( - + {extractors.some((e) => { if (!e) return true;