From 796c932311481f692ad24fc365aa56d90c098f82 Mon Sep 17 00:00:00 2001 From: Jeroen Reumkens Date: Mon, 15 May 2023 17:02:16 +0200 Subject: [PATCH] CAL-1550: Align form submit button of new booker to bottom (#8896) Co-authored-by: Alex van Andel --- .../bookings/Booker/components/BookEventForm/BookEventForm.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx b/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx index 82142f71d4..bd0917e4e0 100644 --- a/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx +++ b/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx @@ -188,7 +188,6 @@ export const BookEventForm = ({ onCancel }: BookEventFormProps) => { ); }, onError: () => { - errorRef && errorRef.current?.scrollIntoView({ behavior: "smooth" }); }, }); @@ -306,7 +305,7 @@ export const BookEventForm = ({ onCancel }: BookEventFormProps) => { /> )} -
+
{!!onCancel && (