From 2036f52599d68752aca48412b46ab1dfb9c06f1c Mon Sep 17 00:00:00 2001 From: mahdi Date: Wed, 13 Jul 2022 18:20:59 +0430 Subject: [PATCH] update --- src/components/VodProduct/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/VodProduct/index.js b/src/components/VodProduct/index.js index 5ac7d5e..1bf466a 100644 --- a/src/components/VodProduct/index.js +++ b/src/components/VodProduct/index.js @@ -58,8 +58,9 @@ const VodProduct = ({ className="group transition ease-in-out delay-150 duration-300 w-full relative flex items-center justify-center cursor-pointer" style={{ backgroundImage: `url(https://dnvn.ir/api/v1/file/${video?.fileIds})`, - backgroundSize: "100% 100%", + backgroundSize: "cover", backgroundRepeat: "no-repeat", + backgroundPosition: "center center", height: height, }} data-modal-toggle="large-modal"