Skip to content

Scheduling infrastructure for absolutely everyone.

fixes to booking page (#4876)

Peer Richelsen7900f8bab55d
diff --git a/apps/web/components/booking/pages/BookingPage.tsx b/apps/web/components/booking/pages/BookingPage.tsx
index 72dacfd5660..d0ef0705f12 100644
--- a/apps/web/components/booking/pages/BookingPage.tsx
+++ b/apps/web/components/booking/pages/BookingPage.tsx
@@ -712,23 +712,25 @@ const BookingPage = ({
/>
)}
{input.type === EventTypeCustomInputType.BOOL && (
- <div className="flex h-5 items-center">
- <input
- type="checkbox"
- {...bookingForm.register(`customInputs.${input.id}`, {
- required: input.required,
- })}
- required={input.required}
- id={"custom_" + input.id}
- className="h-4 w-4 rounded border-gray-300 text-black focus:ring-black disabled:bg-gray-200 ltr:mr-2 rtl:ml-2 disabled:dark:text-gray-500"
- placeholder=""
- disabled={disabledExceptForOwner}
- />
- <label
- htmlFor={"custom_" + input.id}
- className="mb-1 block text-sm font-medium text-gray-700 dark:text-white">
- {input.label}
- </label>
+ <div className="my-6">
+ <div className="flex">
+ <input
+ type="checkbox"
+ {...bookingForm.register(`customInputs.${input.id}`, {
+ required: input.required,
+ })}
+ required={input.required}
+ id={"custom_" + input.id}
+ className="h-4 w-4 rounded border-gray-300 text-black focus:ring-black disabled:bg-gray-200 ltr:mr-2 rtl:ml-2 disabled:dark:text-gray-500"
+ placeholder=""
+ disabled={disabledExceptForOwner}
+ />
+ <label
+ htmlFor={"custom_" + input.id}
+ className="-mt-px block text-sm font-medium text-gray-700 dark:text-white">
+ {input.label}
+ </label>
+ </div>
</div>
)}
</div>
diff --git a/apps/web/pages/[user].tsx b/apps/web/pages/[user].tsx
index 42db4a315e2..0c9fc6cbf01 100644
--- a/apps/web/pages/[user].tsx
+++ b/apps/web/pages/[user].tsx
@@ -182,7 +182,6 @@ export default function User(props: inferSSRProps<typeof getServerSideProps>) {
<h2 className="dark:text-darkgray-700 pr-2 text-sm font-semibold text-gray-700">
{type.title}
</h2>
- <p className="dark:text-darkgray-600 hidden text-sm font-normal leading-none text-gray-600 md:block">{`/${user.username}/${type.slug}`}</p>
</div>
<EventTypeDescription eventType={type} />
</a>
diff --git a/apps/web/pages/team/[slug].tsx b/apps/web/pages/team/[slug].tsx
index 689f4175fe2..923ea5e2956 100644
--- a/apps/web/pages/team/[slug].tsx
+++ b/apps/web/pages/team/[slug].tsx
@@ -8,6 +8,7 @@ import React, { useEffect } from "react";
import { useIsEmbed } from "@calcom/embed-core/embed-iframe";
import { CAL_URL } from "@calcom/lib/constants";
import { getPlaceholderAvatar } from "@calcom/lib/getPlaceholderAvatar";
+import { useLocale } from "@calcom/lib/hooks/useLocale";
import useTheme from "@calcom/lib/hooks/useTheme";
import { getTeamWithMembers } from "@calcom/lib/server/queries/teams";
import { collectPageParameters, telemetryEventTypes, useTelemetry } from "@calcom/lib/telemetry";
@@ -17,7 +18,6 @@ import { Button } from "@calcom/ui/v2/core";
import EventTypeDescription from "@calcom/ui/v2/modules/event-types/EventTypeDescription";
import { useExposePlanGlobally } from "@lib/hooks/useExposePlanGlobally";
-import { useLocale } from "@lib/hooks/useLocale";
import { useToggleQuery } from "@lib/hooks/useToggleQuery";
import { inferSSRProps } from "@lib/types/inferSSRProps";
@@ -56,7 +56,6 @@ function TeamPage({ team }: TeamPageProps) {
<div className="flex-shrink">
<div className="flex flex-wrap items-center space-x-2">
<h2 className="dark:text-darkgray-700 text-sm font-semibold text-gray-700">{type.title}</h2>
- <p className="dark:text-darkgray-600 hidden text-sm font-normal leading-none text-gray-600 md:block">{`/${team.slug}/${type.slug}`}</p>
</div>
<EventTypeDescription className="text-sm" eventType={type} />
</div>
diff --git a/apps/website b/apps/website
index 329a8f3c4c9..b59ae88a2ea 160000
--- a/apps/website
+++ b/apps/website
@@ -1 +1 @@
-Subproject commit 329a8f3c4c9f3d9fb2b4097ce8fbfbf15a9b8477
+Subproject commit b59ae88a2eacc91356e6410f075685bdcbf1b406