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> </Card>
<CartFooter /> <div style={{ marginTop: "1rem" }}>
<CartFooter />
</div>
</Col> </Col>
{/* Sidebar Column */} {/* Sidebar Column */}

View File

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