From 425055fd36c179a46e0892236625129a9823c9af Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Sun, 8 Aug 2021 17:29:45 +0200 Subject: [PATCH] minor styling to booking page --- components/booking/AvailableTimes.tsx | 2 +- components/booking/DatePicker.tsx | 13 ++++++++----- styles/globals.css | 10 ++++++++++ 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/components/booking/AvailableTimes.tsx b/components/booking/AvailableTimes.tsx index 259eee100d..4f7a5fd4ad 100644 --- a/components/booking/AvailableTimes.tsx +++ b/components/booking/AvailableTimes.tsx @@ -39,7 +39,7 @@ const AvailableTimes = ({ `/${user.username}/book?date=${slot.utc().format()}&type=${eventTypeId}` + (rescheduleUid ? "&rescheduleUid=" + rescheduleUid : "") }> - + {slot.format(timeFormat)} diff --git a/components/booking/DatePicker.tsx b/components/booking/DatePicker.tsx index 28c1fa5600..8fa66ac4b0 100644 --- a/components/booking/DatePicker.tsx +++ b/components/booking/DatePicker.tsx @@ -171,20 +171,23 @@ const DatePicker = ({ }>
- {dayjs().month(selectedMonth).format("MMMM YYYY")} + + {dayjs().month(selectedMonth).format("MMMM")} + + {dayjs().month(selectedMonth).format("YYYY")}
-
diff --git a/styles/globals.css b/styles/globals.css index 2fbe03bfca..316a2d8e59 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -81,6 +81,16 @@ } } +::-moz-selection { + color: white; + background: black; +} + +::selection { + color: white; + background: black; +} + /* add padding bottom to bottom nav on standalone mode */ @media all and (display-mode: standalone) { .bottom-nav {