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

Co-authored-by: Alex van Andel <me@alexvanandel.com>
pull/8869/head^2
Jeroen Reumkens 2023-05-15 17:02:16 +02:00 committed by GitHub
parent 4137f63ec7
commit 796c932311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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")}