From fff1dc9e76c27d06293b0a4a1eee76d9fecfa328 Mon Sep 17 00:00:00 2001 From: splincode Date: Thu, 12 Oct 2023 19:36:27 +0300 Subject: [PATCH] fix(core): prevent override height for svg --- projects/core/components/svg/svg.style.less | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/projects/core/components/svg/svg.style.less b/projects/core/components/svg/svg.style.less index cd35c76d7c7e..9e3b1c927da2 100644 --- a/projects/core/components/svg/svg.style.less +++ b/projects/core/components/svg/svg.style.less @@ -12,19 +12,18 @@ fill: transparent; stroke: transparent; font-size: 1rem; - - ::ng-deep svg:not(.t-svg) { - width: inherit; - height: inherit; - } } .t-src { display: flex; - width: inherit; height: 100%; align-items: center; justify-content: center; + + &, + ::ng-deep svg { + width: inherit; + } } .t-svg {