From ab5a7521db9bb5cfca55d9f4e821c1af591535a9 Mon Sep 17 00:00:00 2001 From: Pujan Date: Thu, 23 Mar 2023 12:01:13 +0530 Subject: [PATCH] lineheight added for tooltip text --- src/styles/getTooltipStyles.js | 1 + src/styles/styles.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/styles/getTooltipStyles.js b/src/styles/getTooltipStyles.js index 7b7deb707f84..cb024f98d6b0 100644 --- a/src/styles/getTooltipStyles.js +++ b/src/styles/getTooltipStyles.js @@ -193,6 +193,7 @@ export default function getTooltipStyles( fontFamily: fontFamily.EXP_NEUE, fontSize: tooltipFontSize, overflow: 'hidden', + lineHeight: variables.lineHeightSmall, }, pointerWrapperStyle: { position: 'fixed', diff --git a/src/styles/styles.js b/src/styles/styles.js index bcab5775a15b..14a2b992eba0 100644 --- a/src/styles/styles.js +++ b/src/styles/styles.js @@ -275,6 +275,7 @@ const styles = { fontWeight: fontWeightBold, fontFamily: fontFamily.EXP_NEUE_BOLD, fontSize: variables.fontSizeSmall, + lineHeight: variables.lineHeightSmall, }, textMicroSupporting: {