From 09ce6c947718a49b73a87ece21b33159e30b8aa9 Mon Sep 17 00:00:00 2001 From: Chris Nanninga Date: Thu, 20 Sep 2018 12:23:22 -0500 Subject: [PATCH] Fixed issue with lib-line-height mixin failing when value of 'normal' is passed --- lib/web/css/source/lib/_typography.less | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/web/css/source/lib/_typography.less b/lib/web/css/source/lib/_typography.less index 07128abbf7fcf..62529fe08d1c8 100644 --- a/lib/web/css/source/lib/_typography.less +++ b/lib/web/css/source/lib/_typography.less @@ -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); } @@ -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;