From a71a350ed260cb547fc35c2a4e3e1f6e810265e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bosi?= <71827178+bosiraphael@users.noreply.github.com> Date: Fri, 1 Nov 2024 09:24:51 +0100 Subject: [PATCH] Fix disabled + focus button (#8259) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before fix: Capture d’écran 2024-10-31 à 16 56 03 After fix: Capture d’écran 2024-10-31 à 16 55 54 --- packages/twenty-ui/src/input/button/components/Button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-ui/src/input/button/components/Button.tsx b/packages/twenty-ui/src/input/button/components/Button.tsx index a01a85012..5869b12fa 100644 --- a/packages/twenty-ui/src/input/button/components/Button.tsx +++ b/packages/twenty-ui/src/input/button/components/Button.tsx @@ -60,7 +60,7 @@ const StyledButton = styled('button', { ? theme.background.secondary : theme.background.primary}; border-color: ${!inverted - ? focus + ? !disabled && focus ? theme.color.blue : theme.background.transparent.light : theme.background.transparent.light};