Skip to content

Commit

Permalink
fix(icon): medium/default font was missing general css properties
Browse files Browse the repository at this point in the history
vertical-align and line-height always had the same value regardless of size....however the default size was missing those
  • Loading branch information
lubber-de authored Mar 23, 2020
1 parent 325d8e7 commit fe44c89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/definitions/elements/icon.less
Original file line number Diff line number Diff line change
Expand Up @@ -288,14 +288,14 @@ each(@colors, {
i.icon,
i.icons {
font-size: @medium;
line-height: 1;
vertical-align: middle;
}
& when not (@variationIconSizes = false) {
each(@variationIconSizes, {
@s: @@value;
i.@{value}.@{value}.@{value}.icon,
i.@{value}.@{value}.@{value}.icons {
line-height: 1;
vertical-align: middle;
font-size: @s;
}
})
Expand Down

0 comments on commit fe44c89

Please sign in to comment.