diff --git a/apps/web/components/booking/AvailableEventLocations.tsx b/apps/web/components/booking/AvailableEventLocations.tsx index 3210e92281..c0825cd53f 100644 --- a/apps/web/components/booking/AvailableEventLocations.tsx +++ b/apps/web/components/booking/AvailableEventLocations.tsx @@ -41,7 +41,7 @@ export function AvailableEventLocations({ locations }: { locations: Props["event return (
{eventLocationType.iconUrl === "/link.svg" ? ( - + ) : ( { id="locationInput" placeholder={t(eventLocationType.organizerInputPlaceholder || "")} required - className="border-default block w-full rounded-sm text-sm" // eslint-disable-next-line @typescript-eslint/no-non-null-assertion defaultValue={ defaultLocation ? defaultLocation[eventLocationType.defaultValueVariable] : undefined diff --git a/apps/web/components/eventtype/EventSetupTab.tsx b/apps/web/components/eventtype/EventSetupTab.tsx index 57aa396573..08c638e716 100644 --- a/apps/web/components/eventtype/EventSetupTab.tsx +++ b/apps/web/components/eventtype/EventSetupTab.tsx @@ -12,6 +12,7 @@ import { z } from "zod"; import type { EventLocationType } from "@calcom/app-store/locations"; import { getEventLocationType, MeetLocationType, LocationType } from "@calcom/app-store/locations"; import useLockedFieldsManager from "@calcom/features/ee/managed-event-types/hooks/useLockedFieldsManager"; +import cx from "@calcom/lib/classNames"; import { CAL_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { md } from "@calcom/lib/markdownIt"; @@ -277,7 +278,13 @@ export const EventSetupTab = (
{`${eventLocationType.label} {eventLabel} diff --git a/apps/web/components/ui/form/CheckboxField.tsx b/apps/web/components/ui/form/CheckboxField.tsx index 20b6816469..222cbd7731 100644 --- a/apps/web/components/ui/form/CheckboxField.tsx +++ b/apps/web/components/ui/form/CheckboxField.tsx @@ -49,7 +49,7 @@ const CheckboxField = forwardRef( {...rest} ref={ref} type="checkbox" - className="text-primary-600 focus:ring-primary-500 border-default h-4 w-4 rounded" + className="text-primary-600 focus:ring-primary-500 border-default bg-default h-4 w-4 rounded" />
{description} diff --git a/apps/web/components/ui/form/LocationSelect.tsx b/apps/web/components/ui/form/LocationSelect.tsx index 4096ceec78..f81e11d225 100644 --- a/apps/web/components/ui/form/LocationSelect.tsx +++ b/apps/web/components/ui/form/LocationSelect.tsx @@ -3,6 +3,7 @@ import { components } from "react-select"; import type { EventLocationType } from "@calcom/app-store/locations"; import { classNames } from "@calcom/lib"; +import cx from "@calcom/lib/classNames"; import { Select } from "@calcom/ui"; export type LocationOption = { @@ -19,10 +20,14 @@ export type GroupOptionType = GroupBase; const OptionWithIcon = ({ icon, label }: { icon?: string; label: string }) => { return (
- {/* TODO: figure out a way to invert icons when in dark mode. We can't just - dark:invert due to google meet cal etc all breaking when we do this - */} - {icon && cover} + {icon && ( + cover + )} {label}
);