Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(style): Adjust call recording callback button to not look huge (#4698)
Aidan Holloway-Bidwell1e262ff5bb5e
diff --git a/js/app/packages/block-call/component/CallRecording/CallRecordingSplitHeader.tsx b/js/app/packages/block-call/component/CallRecording/CallRecordingSplitHeader.tsxindex f9aec8895d..27dd1cd5cd 100644--- a/js/app/packages/block-call/component/CallRecording/CallRecordingSplitHeader.tsx+++ b/js/app/packages/block-call/component/CallRecording/CallRecordingSplitHeader.tsx@@ -140,7 +140,7 @@ export function CallRecordingSplitHeader(props: {<Buttondepth={2}variant="base"- size="icon-sm"+ size="icon-xs"class="bg-surface"tooltip="Call Again"onClick={() => call.joinCall()}diff --git a/js/app/packages/ui/components/Button.tsx b/js/app/packages/ui/components/Button.tsxindex ab3a47b4e8..6c49c319ba 100644--- a/js/app/packages/ui/components/Button.tsx+++ b/js/app/packages/ui/components/Button.tsx@@ -36,7 +36,15 @@ export type ButtonProps = ButtonRootProps<'button'> &tooltipDisabled?: boolean;};-export type ButtonSize = 'sm' | 'icon-sm' | 'md' | 'icon-md' | 'lg' | 'icon-lg';+export type ButtonSize =+ | 'xs'+ | 'icon-xs'+ | 'sm'+ | 'icon-sm'+ | 'md'+ | 'icon-md'+ | 'lg'+ | 'icon-lg';export type ButtonVariant =| 'ghost'@@ -63,6 +71,8 @@ const variantStyles: Record<ButtonVariant, string> = {};const sizeStyles: Record<ButtonSize, string> = {+ xs: ' p-1 [&_:where(svg)]:size-3 gap-1 text-xs',+ 'icon-xs': 'size-5 p-2.75 [&_:where(svg)]:size-4 ',lg: ' p-2.5 [&_:where(svg)]:size-5 gap-2 text-base',md: ' p-2 gap-1.5 text-sm ' /* scuffed */,sm: 'h-6 px-2 [&_:where(svg)]:size-4 gap-1 text-xs ',diff --git a/js/app/packages/ui/components/ButtonGroup.tsx b/js/app/packages/ui/components/ButtonGroup.tsxindex 86b357358f..2cb5238db2 100644--- a/js/app/packages/ui/components/ButtonGroup.tsx+++ b/js/app/packages/ui/components/ButtonGroup.tsx@@ -50,6 +50,8 @@ const dividerVariantStyles: Record<ButtonVariant, string> = {/* explicit cross-axis size so the group's outer box matches a standaloneButton of the same size (border-box absorbs the 1px outer border) */const groupHorizontalSize: Record<ButtonSize, string> = {+ xs: '',+ 'icon-xs': 'h-5',lg: '',md: '',sm: 'h-6',@@ -59,6 +61,8 @@ const groupHorizontalSize: Record<ButtonSize, string> = {};const groupVerticalSize: Record<ButtonSize, string> = {+ xs: '',+ 'icon-xs': 'w-5',lg: '',md: '',sm: '',