hide menu footer if restaurant close

This commit is contained in:
2025-11-16 23:56:57 +03:00
parent 05c190ad5b
commit 8263be3ae3
3 changed files with 12 additions and 2 deletions

View File

@@ -85,3 +85,14 @@
.itemDescriptionIcons svg { .itemDescriptionIcons svg {
fill: inherit; fill: inherit;
} }
/* Badge positioning for RTL */
:global(.ant-app-rtl) .productLink :global(.ant-badge) :global(.ant-badge-count) {
right: auto !important;
left: 0px !important;
}
:global(.ant-app-ltr) .productLink :global(.ant-badge) :global(.ant-badge-count) {
right: 0px !important;
left: auto !important;
}

View File

@@ -6,7 +6,6 @@ import { colors } from "ThemeConstants.ts";
import { ItemDescriptionIcons } from "components/ItemDescriptionIcons/ItemDescriptionIcons.tsx"; import { ItemDescriptionIcons } from "components/ItemDescriptionIcons/ItemDescriptionIcons.tsx";
import { StarOutlined } from "@ant-design/icons"; import { StarOutlined } from "@ant-design/icons";
import ImageWithFallback from "components/ImageWithFallback"; import ImageWithFallback from "components/ImageWithFallback";
import { AddToCartButton } from "pages/menu/components/AddToCartButton/AddToCartButton.tsx";
import { Product } from "utils/types/appTypes.ts"; import { Product } from "utils/types/appTypes.ts";
import useBreakPoint from "hooks/useBreakPoint.ts"; import useBreakPoint from "hooks/useBreakPoint.ts";
import { useAppSelector } from "redux/hooks.ts"; import { useAppSelector } from "redux/hooks.ts";

View File

@@ -148,7 +148,7 @@ function MenuPage() {
</Space> </Space>
</div> </div>
<MenuFooter /> {restaurant && restaurant.isOpened && <MenuFooter />}
<ScrollEventHandler /> <ScrollEventHandler />
<FloatingButton /> <FloatingButton />