MenuList: hide category image in desktop size

- case the images quality are not good (need adding from dashboard
This commit is contained in:
2025-10-11 22:06:26 +03:00
parent 3f0723f107
commit 218e5d143b
2 changed files with 5 additions and 3 deletions

View File

@@ -151,7 +151,9 @@ export default function CartDesktopLayout() {
)}
</Card>
<div style={{ marginTop: "1rem" }}>
<CartFooter />
</div>
</Col>
{/* Sidebar Column */}

View File

@@ -95,7 +95,7 @@ export function MenuList({ data, categoryRefs }: MenuListProps) {
}}
style={{ marginBottom: "1rem" }}
>
<ImageWithFallback
{!isDesktop && <ImageWithFallback
src={category.image || "/default.png"}
fallbackSrc="/default.png"
alt={category.name}
@@ -105,7 +105,7 @@ export function MenuList({ data, categoryRefs }: MenuListProps) {
loadingContainerStyle={{
width: "100%",
}}
/>
/>}
<ProTitle
style={{
fontSize: "1.25rem",