cart: styles enhancements on different screen sizes
This commit is contained in:
@@ -29,7 +29,7 @@ export default function ProductDetailPage({
|
||||
|
||||
const { isRTL } = useAppSelector((state) => state.locale);
|
||||
const { restaurant } = useAppSelector((state) => state.order);
|
||||
const { isDesktop } = useBreakPoint();
|
||||
const { isDesktop, isTablet } = useBreakPoint();
|
||||
const [quantity, setQuantity] = useState(1);
|
||||
|
||||
// Get menu data
|
||||
@@ -205,7 +205,7 @@ export default function ProductDetailPage({
|
||||
key={`product-${product?.id}-${product?.image}`}
|
||||
src={product?.image}
|
||||
fallbackSrc={default_image}
|
||||
height={isDesktop ? 300 : 240}
|
||||
height={isDesktop || isTablet ? 300 : 240}
|
||||
width={"100%"}
|
||||
style={{
|
||||
width: "100%",
|
||||
|
||||
Reference in New Issue
Block a user