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(calendar): unify header button sizing (#8017)

teo1e35046bfdc8
diff --git a/apps/web/src/features/calendar/components/CalendarSettingsDropdown.tsx b/apps/web/src/features/calendar/components/CalendarSettingsDropdown.tsx
index 54ce8cb186..6e905ad683 100644
--- a/apps/web/src/features/calendar/components/CalendarSettingsDropdown.tsx
+++ b/apps/web/src/features/calendar/components/CalendarSettingsDropdown.tsx
@@ -172,7 +172,7 @@ function DesktopCalendarSettings(props: {
<Dropdown placement={props.sidebar ? 'top-end' : 'bottom-end'}>
<Dropdown.Trigger
variant="ghost"
- size={props.sidebar ? 'md' : 'icon-md'}
+ size={props.sidebar ? 'md' : 'icon-lg'}
class={
props.sidebar
? 'w-full border-transparent bg-transparent'
diff --git a/apps/web/src/features/scheduling/calendar-actions.tsx b/apps/web/src/features/scheduling/calendar-actions.tsx
index f4cdc50e9a..d6d636bb30 100644
--- a/apps/web/src/features/scheduling/calendar-actions.tsx
+++ b/apps/web/src/features/scheduling/calendar-actions.tsx
@@ -65,12 +65,13 @@ function Actions() {
fallback={
<Button
variant="ghost"
- size="sm"
+ size="lg"
+ class="w-9 px-0 text-sm lg:w-auto lg:px-3"
label="Copy booking link"
disabled={source.isPending}
onClick={() => void handleClick()}
>
- <LinkIcon class="size-3.5" />
+ <LinkIcon class="size-5 mobile:size-6 lg:size-4" />
<span class="hidden lg:inline">Booking link</span>
</Button>
}
@@ -79,13 +80,14 @@ function Actions() {
<DropdownMenu.Trigger
as={Button}
variant="ghost"
- size="sm"
+ size="lg"
+ class="px-2 text-sm lg:px-3"
label="Copy booking link"
disabled={source.isPending}
>
- <LinkIcon class="size-3.5" />
+ <LinkIcon class="size-5 mobile:size-6 lg:size-4" />
<span class="hidden lg:inline">Booking link</span>
- <CaretDownIcon class="size-3" />
+ <CaretDownIcon class="size-4" />
</DropdownMenu.Trigger>
<DropdownMenu.Portal>
<DropdownMenu.Content class="z-action-menu min-w-48 rounded-xl border border-edge-muted bg-menu p-1 text-sm shadow-lg">
@@ -105,11 +107,11 @@ function Actions() {
</Show>
<Button
variant="ghost"
- size="icon-sm"
+ size="icon-lg"
label="Open booking link settings"
onClick={() => settings.openSettings('Booking links')}
>
- <GearIcon class="size-3.5" />
+ <GearIcon class="size-5 mobile:size-6" />
</Button>
</div>
);