Skip to content

Scheduling infrastructure for absolutely everyone.

CAL-1550: Align form submit button of new booker to bottom (#8896)

Jeroen Reumkens796c93231148
diff --git a/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx b/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx
index 82142f71d4c..bd0917e4e04 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) => {
/>
</div>
)}
- <div className="modalsticky mt-4 flex justify-end space-x-2 rtl:space-x-reverse">
+ <div className="modalsticky mt-auto flex justify-end space-x-2 rtl:space-x-reverse">
{!!onCancel && (
<Button color="minimal" type="button" onClick={onCancel}>
{t("back")}