Skip to content

The open alternative to Salesforce, designed for AI.

Fix disabled + focus button (#8259)

Raphaël Bosia71a350ed260
diff --git a/packages/twenty-ui/src/input/button/components/Button.tsx b/packages/twenty-ui/src/input/button/components/Button.tsx
index a01a85012b2..5869b12faae 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};