From 310857d59cc7bead34c13f3fdd2f37e836d37b09 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Wed, 6 Nov 2024 16:38:44 +0500 Subject: [PATCH] Make object-fit property work --- src/web/assets/css/home.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/web/assets/css/home.css b/src/web/assets/css/home.css index d4c2768..0b4e293 100644 --- a/src/web/assets/css/home.css +++ b/src/web/assets/css/home.css @@ -26,7 +26,8 @@ .service .image img { object-fit: cover; - object-position: 50% 50%; + width: 100%; + height: 100%; } .service .tag {