fix: add fit to height (#4372)

This commit is contained in:
Udit Takkar
2022-09-12 13:30:05 +00:00
committed by GitHub
parent 5f3e9efa6d
commit 869ebb092b
2 changed files with 2 additions and 0 deletions
@@ -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")
@@ -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) {