From 1dc6ae1d26cf59ba1756181ea1eb8d0c483d6741 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Thu, 12 Aug 2021 16:29:48 +0200 Subject: [PATCH] added border to date picker days on mobile --- components/booking/DatePicker.tsx | 10 +++++----- components/booking/TimeOptions.tsx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/booking/DatePicker.tsx b/components/booking/DatePicker.tsx index 39175a94..a9b7bf3e 100644 --- a/components/booking/DatePicker.tsx +++ b/components/booking/DatePicker.tsx @@ -166,9 +166,9 @@ const DatePicker = ({ return selectedMonth ? (
@@ -193,16 +193,16 @@ const DatePicker = ({
-
+
{["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"] .sort((a, b) => (weekStart.startsWith(a) ? -1 : weekStart.startsWith(b) ? 1 : 0)) .map((weekDay) => ( -
+
{weekDay}
))} - {calendar}
+
{calendar}
) : null; }; diff --git a/components/booking/TimeOptions.tsx b/components/booking/TimeOptions.tsx index 9e51b6ae..4e29bbf1 100644 --- a/components/booking/TimeOptions.tsx +++ b/components/booking/TimeOptions.tsx @@ -25,7 +25,7 @@ const TimeOptions = (props) => { return ( selectedTimeZone !== "" && ( -
+
Time Options