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
parent
4137f63ec7
commit
796c932311
|
@ -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")}
|
||||
|
|
Loading…
Reference in New Issue