From 6360ab3de326e02f7057704810f38e7ad34af903 Mon Sep 17 00:00:00 2001 From: Maksim Ivanov Date: Wed, 11 Oct 2023 16:41:54 +0300 Subject: [PATCH] fix(core): invalid svg alignments in safari (#5588) --- projects/core/components/svg/svg.style.less | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/projects/core/components/svg/svg.style.less b/projects/core/components/svg/svg.style.less index f6ebea47d74c..cd35c76d7c7e 100644 --- a/projects/core/components/svg/svg.style.less +++ b/projects/core/components/svg/svg.style.less @@ -12,11 +12,16 @@ fill: transparent; stroke: transparent; font-size: 1rem; + + ::ng-deep svg:not(.t-svg) { + width: inherit; + height: inherit; + } } .t-src { display: flex; - width: 100%; + width: inherit; height: 100%; align-items: center; justify-content: center;