Fix .icon so transform animations work on webfont icons (#2729)

Co-authored-by: codecalm <codecalm@gmail.com>
This commit is contained in:
Riccardo Bessone
2026-08-01 01:58:45 +02:00
committed by GitHub
co-authored by codecalm
parent 70f069cd05
commit 70193fef56
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -9,6 +9,8 @@
height: var(--#{$prefix}icon-size);
font-size: var(--#{$prefix}icon-size);
vertical-align: bottom;
display: inline-block;
transform-origin: center;
@if $icon-stroke-width {
stroke-width: $icon-stroke-width;