From 13b46adee6c5c5bd32c2ea33249c5e89370ef451 Mon Sep 17 00:00:00 2001 From: candicecz Date: Thu, 30 May 2024 14:15:39 -0400 Subject: [PATCH] style: misc buttons --- src/components/metadata/components/buttons.tsx | 9 ++++++++- src/pages/index.tsx | 3 +-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/metadata/components/buttons.tsx b/src/components/metadata/components/buttons.tsx index 106f31c5..eb896958 100644 --- a/src/components/metadata/components/buttons.tsx +++ b/src/components/metadata/components/buttons.tsx @@ -51,6 +51,7 @@ export const OntologyButton = ({ leftIcon={} fontSize='12px' fontWeight='medium' + color='gray.800' sx={{ borderBottomColor: 'inherit', '.child-node': { @@ -60,7 +61,13 @@ export const OntologyButton = ({ }, '.child-node p': { borderBottom: 'none' }, }} - _visited={{ _hover: { borderBottomColor: 'inherit' } }} + _visited={{ + '.child-node p, .child-node svg': { + borderBottom: 'none', + color: 'inherit', + }, + _hover: { borderBottomColor: 'inherit' }, + }} > {label || inDefinedTermSet} diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 33b86b76..44fabd5b 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -221,8 +221,7 @@ const Home: NextPage<{