Skip to content

Commit

Permalink
ENGCOM-3044: Fixed issue with lib-line-height mixin failing when valu…
Browse files Browse the repository at this point in the history
…e of 'normal'… #18168
  • Loading branch information
Stanislav Idolov authored Oct 2, 2018
2 parents 66a25dd + 36d4152 commit b562288
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/web/css/source/lib/_typography.less
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}

// Rem line height
.lib-line-height(@heightValue) when not (@heightValue = false) and not (ispercentage(@heightValue)) {
.lib-line-height(@heightValue) when not (@heightValue = false) and not (@heightValue = normal) and not (ispercentage(@heightValue)) {
.lib-font-size-value(@heightValue);
.lib-css(line-height, @fontValue);
}
Expand All @@ -46,6 +46,10 @@
.lib-css(line-height, @heightValue);
}

.lib-line-height(@heightValue) when (@heightValue = normal) {
.lib-css(line-height, @heightValue);
}

.lib-wrap-words() {
overflow-wrap: break-word;
word-wrap: break-word;
Expand Down

0 comments on commit b562288

Please sign in to comment.