Scheduling infrastructure for absolutely everyone.
fix: UI bugs (#9435)
Udit Takkardb4b32119e27
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.jsonindex 762f2b5f891..ffe979efbf7 100644--- a/apps/web/public/static/locales/en/common.json+++ b/apps/web/public/static/locales/en/common.json@@ -1694,6 +1694,7 @@"switch_monthly": "Switch to monthly view","switch_weekly": "Switch to weekly view","switch_multiday": "Switch to day view",+ "switch_columnview": "Switch to column view","num_locations": "{{num}} location options","select_on_next_step": "Select on the next step","this_meeting_has_not_started_yet": "This meeting has not started yet",diff --git a/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.tsx b/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.tsxindex 346ee48a579..474604e629d 100644--- a/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.tsx+++ b/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.tsx@@ -20,7 +20,7 @@ export function BookFormAsModal({ visible, onCancel }: { visible: boolean; onCan<DialogContenttype={undefined}enableOverflow- className="[&_.modalsticky]:border-t-subtle [&_.modalsticky]:bg-default dark:[&_.modalsticky]:bg-muted max-h-[80vh] pt-6 pb-0 [&_.modalsticky]:sticky [&_.modalsticky]:bottom-0 [&_.modalsticky]:left-0 [&_.modalsticky]:right-0 [&_.modalsticky]:-mx-8 [&_.modalsticky]:border-t [&_.modalsticky]:px-6 [&_.modalsticky]:py-4">+ className="[&_.modalsticky]:border-t-subtle [&_.modalsticky]:bg-default max-h-[80vh] pb-0 [&_.modalsticky]:sticky [&_.modalsticky]:bottom-0 [&_.modalsticky]:left-0 [&_.modalsticky]:right-0 [&_.modalsticky]:-mx-8 [&_.modalsticky]:border-t [&_.modalsticky]:px-8 [&_.modalsticky]:py-4"><h1 className="font-cal text-emphasis text-xl leading-5">{t("confirm_your_details")} </h1><div className="my-4 flex space-x-2 rounded-md leading-none"><Badge variant="grayWithoutHover" startIcon={Calendar} size="lg">diff --git a/packages/features/bookings/Booker/components/Header.tsx b/packages/features/bookings/Booker/components/Header.tsxindex 51799f4a86d..0fb4aaf68ac 100644--- a/packages/features/bookings/Booker/components/Header.tsx+++ b/packages/features/bookings/Booker/components/Header.tsx@@ -122,7 +122,7 @@ const LayoutToggle = ({{value: BookerLayouts.COLUMN_VIEW,label: <Columns width="16" height="16" />,- tooltip: t("switch_multiday"),+ tooltip: t("switch_columnview"),},].filter((layout) => enabledLayouts?.includes(layout.value as BookerLayouts));}, [t, enabledLayouts]);diff --git a/packages/ui/components/dialog/Dialog.tsx b/packages/ui/components/dialog/Dialog.tsxindex f7d12aeb663..6863084663d 100644--- a/packages/ui/components/dialog/Dialog.tsx+++ b/packages/ui/components/dialog/Dialog.tsx@@ -77,7 +77,7 @@ export const DialogContent = React.forwardRef<HTMLDivElement, DialogContentProps<DialogPrimitive.Content{...props}className={classNames(- "fadeIn bg-default fixed left-1/2 top-1/2 z-50 w-full max-w-[22rem] -translate-x-1/2 -translate-y-1/2 rounded text-left shadow-xl focus-visible:outline-none sm:align-middle",+ "fadeIn bg-default fixed left-1/2 top-1/2 z-50 w-full max-w-[22rem] -translate-x-1/2 -translate-y-1/2 rounded-md text-left shadow-xl focus-visible:outline-none sm:align-middle",props.size == "xl"? "p-8 sm:max-w-[90rem]": props.size == "lg"diff --git a/packages/ui/components/form/toggleGroup/ToggleGroup.tsx b/packages/ui/components/form/toggleGroup/ToggleGroup.tsxindex 2ddf749cef9..f2bf63df053 100644--- a/packages/ui/components/form/toggleGroup/ToggleGroup.tsx+++ b/packages/ui/components/form/toggleGroup/ToggleGroup.tsx@@ -40,7 +40,7 @@ export const ToggleGroup = ({ options, onValueChange, isFullWidth, ...props }: T{...props}onValueChange={onValueChange}className={classNames(- "min-h-9 bg-muted border-default relative inline-flex gap-0.5 rounded-md border p-1",+ "min-h-9 border-default relative inline-flex gap-0.5 rounded-md border p-1",props.className,isFullWidth && "w-full")}>@@ -50,7 +50,7 @@ export const ToggleGroup = ({ options, onValueChange, isFullWidth, ...props }: Tdisabled={option.disabled}value={option.value}className={classNames(- "aria-checked:bg-subtle relative rounded-[4px] px-3 py-1 text-sm leading-tight transition-colors",+ "aria-checked:bg-emphasis relative rounded-[4px] px-3 py-1 text-sm leading-tight transition-colors",option.disabled? "text-gray-400 hover:cursor-not-allowed": "text-default [&[aria-checked='false']]:hover:bg-emphasis",