From d95b93578181c0d295d6cb8f66c94cac528e40bb Mon Sep 17 00:00:00 2001 From: splincode Date: Tue, 10 Oct 2023 11:28:30 +0300 Subject: [PATCH] fix(core): invalid svg alignments in safari --- projects/core/components/svg/svg.style.less | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/projects/core/components/svg/svg.style.less b/projects/core/components/svg/svg.style.less index f6ebea47d74cd..1df725fd1df45 100644 --- a/projects/core/components/svg/svg.style.less +++ b/projects/core/components/svg/svg.style.less @@ -12,11 +12,17 @@ fill: transparent; stroke: transparent; font-size: 1rem; + + svg, + .t-svg { + width: inherit; + height: inherit; + } } .t-src { display: flex; - width: 100%; + width: inherit; height: 100%; align-items: center; justify-content: center;