From 2e3947a1baa289adeac9beae075440666c8f92ba Mon Sep 17 00:00:00 2001 From: lytrankieio123 Date: Thu, 9 Sep 2021 16:49:27 +0700 Subject: [PATCH] style: blur bg img --- src/components/common/ImgWithLink/ImgWithLink.module.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/common/ImgWithLink/ImgWithLink.module.scss b/src/components/common/ImgWithLink/ImgWithLink.module.scss index 413f96cdb..c454aaa4a 100644 --- a/src/components/common/ImgWithLink/ImgWithLink.module.scss +++ b/src/components/common/ImgWithLink/ImgWithLink.module.scss @@ -5,5 +5,8 @@ height: 100%; img { object-fit: cover; + background-size: contain !important; + background-position: center !important; + background-repeat: no-repeat; } }