From c7b285796df7e0ca554dfd77279e03e022e199a2 Mon Sep 17 00:00:00 2001 From: Matthew Care Date: Mon, 11 Oct 2021 11:06:10 +0100 Subject: [PATCH] Update background size Update background size property to `contain` so that the whole image shows (cherry picked from commit 215ef3d7b6203a2bd2898161237046a827f0d36b) --- .../src/views/components/blockcard/umb-block-card.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/components/blockcard/umb-block-card.less b/src/Umbraco.Web.UI.Client/src/views/components/blockcard/umb-block-card.less index bfd72c021699..d5823651022d 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/blockcard/umb-block-card.less +++ b/src/Umbraco.Web.UI.Client/src/views/components/blockcard/umb-block-card.less @@ -58,7 +58,7 @@ umb-block-card { padding-bottom: 10/16*100%; background-color: @gray-12; - background-size: cover; + background-size: contain; background-position: 50% 50%; background-repeat: no-repeat;