From 04fb7e07b40e147dc5f1837f07b5e17f5794cac3 Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Fri, 31 Mar 2023 22:45:09 +0530 Subject: [PATCH] fix: change ui of booking fields in booking page (#7776) Co-authored-by: Peer Richelsen --- apps/web/pages/booking/[uid].tsx | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsx index fa605999fe..c7f725c3b4 100644 --- a/apps/web/pages/booking/[uid].tsx +++ b/apps/web/pages/booking/[uid].tsx @@ -569,7 +569,8 @@ export default function Success(props: SuccessProps) { )} - + +
{Object.entries(bookingInfo.responses).map(([name, response]) => { const field = eventType.bookingFields.find((field) => field.name === name); // We show location in the "where" section @@ -584,15 +585,10 @@ export default function Success(props: SuccessProps) { return ( <> -
{label}
-
-

- {response.toString()} -

-
+
{label}
+

+ {response.toString()} +

); })}