From ff7c692b92e3f6eb9b2617bc15e3a69f8d5958c3 Mon Sep 17 00:00:00 2001 From: Robert Knight <95928279+microbit-robert@users.noreply.github.com> Date: Thu, 28 Nov 2024 13:49:28 +0000 Subject: [PATCH] Avoid action name card content shift when selected (#549) --- src/components/ActionNameCard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ActionNameCard.tsx b/src/components/ActionNameCard.tsx index dbad9b1e3..3e3974876 100644 --- a/src/components/ActionNameCard.tsx +++ b/src/components/ActionNameCard.tsx @@ -92,8 +92,8 @@ const ActionNameCard = ({ p={2} h="120px" display="flex" - borderColor="brand.500" - borderWidth={selected ? 1 : 0} + borderColor={selected ? "brand.500" : "transparent"} + borderWidth={1} onClick={onSelectRow} position="relative" className={tourElClassname.dataSamplesActionCard}