Skip to content

Commit

Permalink
Adjsuted the cart product image size
Browse files Browse the repository at this point in the history
  • Loading branch information
Code4V committed Aug 1, 2024
1 parent b34b721 commit e0d45b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shopping-cart/src/components/CartProduct.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ const CartProduct = ({ props }) => {
variant='outline'
marginBlockEnd={4}
>
<Image boxSize='64px' src={props.image} objectFit='cover'/>
<Image boxSize='80px' src={props.image} objectFit='cover' maxW={{ base: '100%', sm:'200px' }}/>
<CardBody>

<Heading size='sm' noOfLines={2}>{props.title}</Heading>
<Text>{props.price}</Text>
</CardBody>
Expand Down

0 comments on commit e0d45b7

Please sign in to comment.