From 2ca64c9f86493724e5f30e7f81ee004b1d7a2671 Mon Sep 17 00:00:00 2001 From: AykutSarac Date: Thu, 3 Feb 2022 21:13:42 +0300 Subject: [PATCH] fix image height --- src/components/Image/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Image/index.tsx b/src/components/Image/index.tsx index 0c169a1..d53561a 100644 --- a/src/components/Image/index.tsx +++ b/src/components/Image/index.tsx @@ -3,6 +3,7 @@ import styled from 'styled-components'; const StyledImage = styled.img` object-fit: contain; + height: auto; @media only screen and (max-width: 768px) { width: 100%;