Scheduling infrastructure for absolutely everyone.
[CAL-808] /availability/single - UI issue on buttons beside time inputs (#6561)
GitStart-Cal.com7b5482e83d39
diff --git a/apps/web/pages/availability/[schedule].tsx b/apps/web/pages/availability/[schedule].tsxindex 7e4061487d8..1539251f7d5 100644--- a/apps/web/pages/availability/[schedule].tsx+++ b/apps/web/pages/availability/[schedule].tsx@@ -188,9 +188,6 @@ export default function Availability({ schedule }: { schedule: number }) {className="flex flex-col pb-16 sm:mx-0 xl:flex-row xl:space-x-6"><div className="flex-1 divide-y divide-neutral-200 rounded-md border"><div className=" py-5 sm:p-6">- <h3 className="mb-2 px-5 text-base font-medium leading-6 text-gray-900 sm:pl-0">- {t("change_start_end")}- </h3>{typeof me.data?.weekStart === "string" && (<Schedulecontrol={control}diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.jsonindex adaae94bfa2..9d220e2b0db 100644--- a/apps/web/public/static/locales/en/common.json+++ b/apps/web/public/static/locales/en/common.json@@ -660,6 +660,7 @@"edit_availability": "Edit availability","configure_availability": "Configure times when you are available for bookings.","copy_times_to": "Copy times to",+ "copy_times_to_tooltip": "Copy times to …","change_weekly_schedule": "Change your weekly schedule","logo": "Logo","error": "Error",diff --git a/packages/features/schedules/components/Schedule.tsx b/packages/features/schedules/components/Schedule.tsxindex bd081fcd821..58d1e0638c5 100644--- a/packages/features/schedules/components/Schedule.tsx+++ b/packages/features/schedules/components/Schedule.tsx@@ -102,9 +102,12 @@ const CopyButton = ({<Dropdown open={open} onOpenChange={setOpen}><DropdownMenuTrigger asChild><Button- className={classNames(open && "ring-brand-500 !bg-gray-100 outline-none ring-2 ring-offset-1")}+ className={classNames(+ "text-gray-700",+ open && "ring-brand-500 !bg-gray-100 outline-none ring-2 ring-offset-1"+ )}type="button"- tooltip={t("duplicate")}+ tooltip={t("copy_times_to_tooltip")}color="minimal"variant="icon"StartIcon={Icon.FiCopy}@@ -181,7 +184,7 @@ export const DayRanges = <TFieldValues extends FieldValues>({{index === 0 && (<Buttontooltip={t("add_time_availability")}- className=" text-gray-400"+ className="mx-2 text-gray-700 "type="button"color="minimal"variant="icon"@@ -193,7 +196,7 @@ export const DayRanges = <TFieldValues extends FieldValues>({}}/>)}- {index !== 0 && <RemoveTimeButton index={index} remove={remove} />}+ {index !== 0 && <RemoveTimeButton index={index} remove={remove} className="mx-2 text-gray-700" />}</div></Fragment>))}