Skip to content

Scheduling infrastructure for absolutely everyone.

fix: add fit to height (#4372)

Udit Takkar869ebb092b20
diff --git a/apps/web/components/v2/eventtype/EventLimitsTab.tsx b/apps/web/components/v2/eventtype/EventLimitsTab.tsx
index 3eb1d667552..b11860d9a9c 100644
--- a/apps/web/components/v2/eventtype/EventLimitsTab.tsx
+++ b/apps/web/components/v2/eventtype/EventLimitsTab.tsx
@@ -153,6 +153,7 @@ export const EventLimitsTab = (props: Pick<EventTypeSetupInfered, "eventType">)
defaultValue={periodType?.type !== "UNLIMITED" ? "ROLLING" : "UNLIMITED"}
render={({ field: { value } }) => (
<Switch
+ fitToHeight={true}
checked={value !== "UNLIMITED"}
onCheckedChange={(bool) =>
formMethods.setValue("periodType", bool ? "ROLLING" : "UNLIMITED")
diff --git a/apps/web/components/v2/eventtype/RecurringEventController.tsx b/apps/web/components/v2/eventtype/RecurringEventController.tsx
index 65cbc656e69..3a4d3ff4dcd 100644
--- a/apps/web/components/v2/eventtype/RecurringEventController.tsx
+++ b/apps/web/components/v2/eventtype/RecurringEventController.tsx
@@ -41,6 +41,7 @@ export default function RecurringEventController({
<div className="flex space-x-3 ">
<Switch
name="requireConfirmation"
+ fitToHeight={true}
checked={recurringEventState !== null}
onCheckedChange={(e) => {
if (!e) {