From 5e6f13acdb47b59e6f45fde1d50c4e0849e2c997 Mon Sep 17 00:00:00 2001 From: Myles Date: Tue, 11 Jun 2024 23:21:49 -0400 Subject: [PATCH] rename --- app/components/Button/button.css | 6 +++--- app/components/Button/index.tsx | 8 ++------ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/app/components/Button/button.css b/app/components/Button/button.css index f3c7ff28..14da2b39 100644 --- a/app/components/Button/button.css +++ b/app/components/Button/button.css @@ -165,10 +165,10 @@ border: 1px solid var(--colors-teal-200, #a6d9d7); } -.button-secondary:hover .tool-tip-secondary { +.button-secondary:hover .tool-tip { opacity: 1; } -.button:hover .tool-tip-secondary { +.button:hover .tool-tip { opacity: 1; } @@ -240,7 +240,7 @@ height: min-content; } -.tool-tip-secondary { +.tool-tip { opacity: 0; position: absolute; top: -42px; diff --git a/app/components/Button/index.tsx b/app/components/Button/index.tsx index da6ef7c1..788708f6 100644 --- a/app/components/Button/index.tsx +++ b/app/components/Button/index.tsx @@ -46,18 +46,14 @@ const Button = ({ {...props} > {children} - {tooltip && !disabled && !mobile && ( -

{tooltip}

- )} + {tooltip && !disabled && !mobile &&

{tooltip}

} ) } return ( ) }