Skip to content

Commit fe44c89

Browse files
authored
fix(icon): medium/default font was missing general css properties
vertical-align and line-height always had the same value regardless of size....however the default size was missing those
1 parent 325d8e7 commit fe44c89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/definitions/elements/icon.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,14 +288,14 @@ each(@colors, {
288288
i.icon,
289289
i.icons {
290290
font-size: @medium;
291+
line-height: 1;
292+
vertical-align: middle;
291293
}
292294
& when not (@variationIconSizes = false) {
293295
each(@variationIconSizes, {
294296
@s: @@value;
295297
i.@{value}.@{value}.@{value}.icon,
296298
i.@{value}.@{value}.@{value}.icons {
297-
line-height: 1;
298-
vertical-align: middle;
299299
font-size: @s;
300300
}
301301
})

0 commit comments

Comments
 (0)