diff --git a/src/App.scss b/src/App.scss index bef4cfb..ccde02b 100644 --- a/src/App.scss +++ b/src/App.scss @@ -139,3 +139,10 @@ iframe { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } + +.line-clamp-3 { + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + overflow: hidden; +} 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" diff --git a/src/views/Dashboard/layouts/Main/Addresses/index.js b/src/views/Dashboard/layouts/Main/Addresses/index.js index 322380a..858071e 100644 --- a/src/views/Dashboard/layouts/Main/Addresses/index.js +++ b/src/views/Dashboard/layouts/Main/Addresses/index.js @@ -69,7 +69,7 @@ const ProfileAddress = ({ }} >   - {window.t("یک آدرس جfdsدید اضافه کنید")} + {window.t("یک آدرس اضافه کنید")} +