Skip to content

Commit 36d4152

Browse files
ENGCOM-3044: Fixed issue with lib-line-height mixin failing when value of 'normal'… #18168
- Merge Pull Request #18168 from CNanninga/magento2:feature/line-height-mixin-fix - Merged commits: 1. 09ce6c9
2 parents 6a014a5 + 09ce6c9 commit 36d4152

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)