@sinjin25
Posted
I think the vh and vw don't work well because people have different aspect ratio screens. So your card may be too tall or too wide depending on the monitor.
You can try manually setting a width and height for desktop and mobile so that the card stays the same shape.
Also try looking into object-fit: cover
as I was able to stop the product image from warping using that.
Adding some padding-right to the product-info class will help make the text fit better and using line-height
on the different p tags can help you get closer to the design image (somewhere between 1.5 and 2)
Marked as helpful