From f7119849db0bc95b4a15374eca215cd149394fa1 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Thu, 8 Sep 2022 16:34:37 +0200 Subject: [PATCH] addded padding to sticky nav, temp removed TODAY from /booking (#4278) --- apps/web/pages/v2/availability/[schedule].tsx | 21 +++++++------------ apps/web/pages/v2/bookings/[status].tsx | 5 ++++- .../navigation/tabs/HorizontalTabItem.tsx | 2 +- .../v2/core/navigation/tabs/VerticalTabs.tsx | 4 +++- 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/apps/web/pages/v2/availability/[schedule].tsx b/apps/web/pages/v2/availability/[schedule].tsx index 0c887071a4..c8a7dcdf53 100644 --- a/apps/web/pages/v2/availability/[schedule].tsx +++ b/apps/web/pages/v2/availability/[schedule].tsx @@ -61,16 +61,13 @@ export function AvailabilityForm(props: inferQueryOutput<"viewer.availability.sc ...values, }); }} - className="-mx-5 flex flex-col sm:mx-0 xl:flex-row"> + className="-mx-4 flex flex-col pb-16 sm:mx-0 xl:flex-row xl:space-x-6">
-
+

{t("change_start_end")}

-
- +
@@ -114,14 +111,10 @@ export function AvailabilityForm(props: inferQueryOutput<"viewer.availability.sc className="focus:border-brand mt-1 block w-full rounded-md border-gray-300 text-sm" />
-
-

- {t("something_doesnt_look_right")} -

-
-

{t("troubleshoot_availability")}

-
-
+
+
+

{t("something_doesnt_look_right")}

+
diff --git a/apps/web/pages/v2/bookings/[status].tsx b/apps/web/pages/v2/bookings/[status].tsx index 534bb49440..6f44793cd8 100644 --- a/apps/web/pages/v2/bookings/[status].tsx +++ b/apps/web/pages/v2/bookings/[status].tsx @@ -89,7 +89,10 @@ export default function Bookings() { {query.status === "success" && !isEmpty && (
-

{t("today")}

+ {/* TODO: add today only for the current day +

{t("today")}

+ */} +
diff --git a/packages/ui/v2/core/navigation/tabs/HorizontalTabItem.tsx b/packages/ui/v2/core/navigation/tabs/HorizontalTabItem.tsx index 1841e01ccf..9fd7297bb3 100644 --- a/packages/ui/v2/core/navigation/tabs/HorizontalTabItem.tsx +++ b/packages/ui/v2/core/navigation/tabs/HorizontalTabItem.tsx @@ -53,7 +53,7 @@ const HorizontalTabItem = ({ name, href, tabName, ...props }: HorizontalTabItemP = ({ tabs, className = "", sticky, ...props }) =>