Skip to content

Scheduling infrastructure for absolutely everyone.

fix availability CTA height (#20714)

sean-brydon3e466022b8ff
diff --git a/apps/web/modules/availability/availability-view.tsx b/apps/web/modules/availability/availability-view.tsx
index d840114ffc0..852fdc7636e 100644
--- a/apps/web/modules/availability/availability-view.tsx
+++ b/apps/web/modules/availability/availability-view.tsx
@@ -216,9 +216,9 @@ export const AvailabilityCTA = () => {
}
return (
- <div className="flex gap-2">
+ <div className="flex items-center gap-2">
<ToggleGroup
- className="min-h-10 hidden p-1 md:flex md:items-center"
+ className="hidden h-fit md:block"
defaultValue={searchParams?.get("type") ?? "mine"}
onValueChange={(value) => {
if (!value) return;
diff --git a/packages/features/schedules/components/NewScheduleButton.tsx b/packages/features/schedules/components/NewScheduleButton.tsx
index 36c474b9143..f167506a920 100644
--- a/packages/features/schedules/components/NewScheduleButton.tsx
+++ b/packages/features/schedules/components/NewScheduleButton.tsx
@@ -59,7 +59,7 @@ export function NewScheduleButton({
return (
<Dialog name={name} clearQueryParamsOnClose={["copy-schedule-id"]}>
<DialogTrigger asChild>
- <Button variant="fab" data-testid={name} StartIcon="plus">
+ <Button variant="fab" data-testid={name} StartIcon="plus" size="sm">
{t("new")}
</Button>
</DialogTrigger>