Skip to content

Commit

Permalink
fix(core): prevent override height for svg
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Oct 12, 2023
1 parent 0e61adf commit fff1dc9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions projects/core/components/svg/svg.style.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fff1dc9

Please sign in to comment.