From 494bef878b9bd02ad3602739306c5f5b27ecbc46 Mon Sep 17 00:00:00 2001 From: Bjarne Fyrstenborg Date: Tue, 5 Oct 2021 17:29:27 +0200 Subject: [PATCH] Fix preview of SVG when height and width not are set --- src/Umbraco.Web.UI.Client/src/less/property-editors.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/less/property-editors.less b/src/Umbraco.Web.UI.Client/src/less/property-editors.less index bc14fc2840..040ec42c0c 100644 --- a/src/Umbraco.Web.UI.Client/src/less/property-editors.less +++ b/src/Umbraco.Web.UI.Client/src/less/property-editors.less @@ -621,6 +621,12 @@ justify-content: center; align-items: center; + > a { + display: block; + width: 100%; + height: 100%; + } + img { display: block; max-width: 100%;