cart: adjust layout

This commit is contained in:
2025-11-16 15:33:01 +03:00
parent 841dad4346
commit b19b5b6ee2
5 changed files with 15 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
import { colors } from "ThemeConstants.ts";
import { Button, FormInstance, message } from "antd";
import { Button, FormInstance, message, Layout } from "antd";
import { selectCart } from "features/order/orderSlice.ts";
import { useTranslation } from "react-i18next";
import { Link, useNavigate, useParams } from "react-router-dom";
@@ -30,7 +30,7 @@ export default function CartFooter({ form }: CartFooterProps) {
};
return (
<div className={styles.cartFooter}>
<Layout.Footer className={styles.cartFooter}>
<Link
to={`/${subdomain}/menu?${orderType ? `orderType=${orderType}` : ""}`}
style={{
@@ -64,6 +64,6 @@ export default function CartFooter({ form }: CartFooterProps) {
>
{t("cart.checkout")}
</Button>
</div>
</Layout.Footer>
);
}