Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: button hover styling (#1714)

Peter Chinman9a914e08c350
diff --git a/js/app/packages/ui/components/Button.tsx b/js/app/packages/ui/components/Button.tsx
index 359a4e3256..3e245a6c77 100644
--- a/js/app/packages/ui/components/Button.tsx
+++ b/js/app/packages/ui/components/Button.tsx
@@ -61,14 +61,14 @@ export const Button: ParentComponent<ButtonProps> = (props) => {
'relative flex items-center justify-center gap-[1ch] px-[1ch] py-[0.25lh] border border-transparent',
'font-mono font-medium uppercase leading-none',
!local.suppressInteractionStyling &&
- 'enabled:hover:bg-surface-4 focus:[--focus-border-inset:-4px] active:border-accent active:bg-accent active:text-panel disabled:opacity-50 disabled:hover:',
+ 'hover:bg-surface-4 focus:[--focus-border-inset:-4px] active:border-accent active:bg-accent active:text-panel disabled:opacity-50 disabled:hover:bg-inherit',
'touch:min-h-11 touch:min-w-11 touch:[&_svg]:size-6',
{
- 'bg-ink border-ink text-panel enabled:hover:bg-accent enabled:hover:opacity-80 active:opacity-100':
+ 'bg-ink border-ink text-panel hover:bg-accent hover:opacity-80 active:opacity-100':
'primary' === local.variant,
'border-ink': 'secondary' === local.variant,
- 'border-failure text-failure active:bg-failure enabled:hover:bg-failure-bg':
+ 'border-failure text-failure active:bg-failure hover:bg-failure-bg':
'destructive' === local.variant,
'p-0 gap-0 items-stretch': local.showChevron,
},