From a6490657a018b58f5c076f9884589be8cc6958ba Mon Sep 17 00:00:00 2001 From: cchaos Date: Wed, 4 Apr 2018 14:45:59 -0400 Subject: [PATCH] Fix error --- src/components/text/_text.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/text/_text.scss b/src/components/text/_text.scss index 6173a0b77a33..52830e680a57 100644 --- a/src/components/text/_text.scss +++ b/src/components/text/_text.scss @@ -1,7 +1,6 @@ // This should only be used for .euiText, therefore it's not included in a separate mixin file @mixin euiScaleText($baseFontSize) { - $baseLineHeight: ($baseFontSize * $euiLineHeight); - $baseLineHeightMultiplier: $baseLineHeight/3; + $baseLineHeightMultiplier: $baseFontSize/2; p, ul, @@ -63,12 +62,12 @@ h5 { font-size: convertToRem($baseFontSize * nth($euiTextScale, 6)); - line-height: convertToRem($baseLineHeight); + line-height: convertToRem($baseLineHeightMultiplier * 2); } h6 { font-size: convertToRem($baseFontSize * nth($euiTextScale, 7)); - line-height: convertToRem($baseLineHeight); + line-height: convertToRem($baseLineHeightMultiplier * 2); text-transform: uppercase; }