From 81721e7bb9b9a72cdc64bb9bf2af226e9fc005fa Mon Sep 17 00:00:00 2001 From: GitStart <1501599+gitstart@users.noreply.github.com> Date: Thu, 24 Nov 2022 17:40:30 +0000 Subject: [PATCH] [CAL-126] onboarding: step 3 not mobile friendly (#5651) Co-authored-by: gitstart Co-authored-by: Nitesh Singh Co-authored-by: Matheus Benini Ferreira <88898100+MatheusBeniniF@users.noreply.github.com> Co-authored-by: Matheus Benini Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com> Co-authored-by: Matheus Muniz <87545749+matheusmuniz03@users.noreply.github.com> Co-authored-by: Matheus Muniz Co-authored-by: Murilo Amaral <87545137+MuriloAmarals@users.noreply.github.com> Co-authored-by: alannnc --- packages/features/schedules/components/Schedule.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/features/schedules/components/Schedule.tsx b/packages/features/schedules/components/Schedule.tsx index ed0e6665a0..15ea28d24d 100644 --- a/packages/features/schedules/components/Schedule.tsx +++ b/packages/features/schedules/components/Schedule.tsx @@ -65,6 +65,9 @@ const ScheduleDay = ({ /> {weekday} + {watchDayRange && !!watchDayRange.length && ( +
{CopyButton}
+ )} @@ -72,7 +75,7 @@ const ScheduleDay = ({ {watchDayRange ? (
- {!!watchDayRange.length &&
{CopyButton}
} + {!!watchDayRange.length &&
{CopyButton}
}
) : ( @@ -221,7 +224,7 @@ const RemoveTimeButton = ({ const TimeRangeField = ({ className, value, onChange }: { className?: string } & ControllerRenderProps) => { // this is a controlled component anyway given it uses LazySelect, so keep it RHF agnostic. return ( -
+