From 1d4a35ce6f51a3f3d5b5a128e0e3646bd14b1836 Mon Sep 17 00:00:00 2001 From: Irfan Maulana Date: Mon, 10 Aug 2020 14:29:54 +0700 Subject: [PATCH] fix: revert object fit cover --- client/routes/Home/components/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/routes/Home/components/index.js b/client/routes/Home/components/index.js index 6407591..0f30432 100644 --- a/client/routes/Home/components/index.js +++ b/client/routes/Home/components/index.js @@ -29,7 +29,8 @@ const productCard = { const productImg = { width: '100%', - height: '130px', + height: '130px', + objectFit: 'cover', borderRadius: '8px 8px 0 0', };