Skip to content

Commit 09ce6c9

Browse files
author
Chris Nanninga
committed
Fixed issue with lib-line-height mixin failing when value of 'normal' is passed
1 parent 50a4da0 commit 09ce6c9

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)