Mobile Shopping Cart

main
Pedram Keshavarzi 3 years ago
parent 3d1386de75
commit c328a7cd39
  1. 2
      src/components/ShoppingCart/index.js

@ -222,7 +222,7 @@ function ShoppingCart({
return(isMobile ? return(isMobile ?
<div className="w-full flex flex-col justify-start items-center bg-gray-200 rtl left-0 pt-24" style={{height: '100vh'}}> <div className="w-full flex flex-col justify-between items-center bg-gray-200 rtl left-0 pt-24" style={{height: '100vh'}}>
<div className={`w-full flex items-center flex-col ${list?.length > 3 && 'overflow-x-hidden overflow-scroll'}`} style={{height: '35%'}}> <div className={`w-full flex items-center flex-col ${list?.length > 3 && 'overflow-x-hidden overflow-scroll'}`} style={{height: '35%'}}>
{list.map((product, index) => ( {list.map((product, index) => (

Loading…
Cancel
Save