checkout: adjust layout

This commit is contained in:
2025-11-16 15:38:44 +03:00
parent b19b5b6ee2
commit 6e49a89045
3 changed files with 19 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
import { Button, FormInstance } from "antd";
import { Button, FormInstance, Layout } from "antd";
import { selectCart } from "features/order/orderSlice";
import { OrderType } from "pages/checkout/hooks/types.ts";
import { useCallback, useMemo } from "react";
@@ -34,7 +34,7 @@ export default function CheckoutButton({ form }: { form: FormInstance }) {
);
return (
<div className={styles.checkoutButtonContainer}>
<Layout.Footer className={styles.checkoutButtonContainer}>
{shouldShowSplitBill && (
<Button
className={styles.splitBillButton}
@@ -52,6 +52,6 @@ export default function CheckoutButton({ form }: { form: FormInstance }) {
>
{t("checkout.placeOrder")}
</Button>
</div>
</Layout.Footer>
);
}