MenuList: hide category image in desktop size
- case the images quality are not good (need adding from dashboard
This commit is contained in:
@@ -151,7 +151,9 @@ export default function CartDesktopLayout() {
|
|||||||
)}
|
)}
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
|
<div style={{ marginTop: "1rem" }}>
|
||||||
<CartFooter />
|
<CartFooter />
|
||||||
|
</div>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
{/* Sidebar Column */}
|
{/* Sidebar Column */}
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user