Skip to content

The open alternative to Salesforce, designed for AI.

Fix action bar button danger background and gap (#2711)

brendanlaschkefd969de311fb
diff --git a/front/src/modules/ui/navigation/action-bar/components/ActionBarItem.tsx b/front/src/modules/ui/navigation/action-bar/components/ActionBarItem.tsx
index bff8f6ecadd..1635762771c 100644
--- a/front/src/modules/ui/navigation/action-bar/components/ActionBarItem.tsx
+++ b/front/src/modules/ui/navigation/action-bar/components/ActionBarItem.tsx
@@ -29,14 +29,14 @@ const StyledButton = styled.div<{ accent: ActionBarItemAccent }>`
&:hover {
background: ${({ theme, accent }) =>
accent === 'danger'
- ? theme.tag.background.red
+ ? theme.background.danger
: theme.background.tertiary};
}
`;
const StyledButtonLabel = styled.div`
font-weight: ${({ theme }) => theme.font.weight.medium};
- margin-left: ${({ theme }) => theme.spacing(2)};
+ margin-left: ${({ theme }) => theme.spacing(1)};
`;
export const ActionBarItem = ({