Skip to content

Commit b562288

Browse files
author
Stanislav Idolov
authored
ENGCOM-3044: Fixed issue with lib-line-height mixin failing when value of 'normal'… #18168
2 parents 66a25dd + 36d4152 commit b562288

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/web/css/source/lib/_typography.less

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838

3939
// Rem line height
40-
.lib-line-height(@heightValue) when not (@heightValue = false) and not (ispercentage(@heightValue)) {
40+
.lib-line-height(@heightValue) when not (@heightValue = false) and not (@heightValue = normal) and not (ispercentage(@heightValue)) {
4141
.lib-font-size-value(@heightValue);
4242
.lib-css(line-height, @fontValue);
4343
}
@@ -46,6 +46,10 @@
4646
.lib-css(line-height, @heightValue);
4747
}
4848

49+
.lib-line-height(@heightValue) when (@heightValue = normal) {
50+
.lib-css(line-height, @heightValue);
51+
}
52+
4953
.lib-wrap-words() {
5054
overflow-wrap: break-word;
5155
word-wrap: break-word;

0 commit comments

Comments
 (0)