From b13f9c7d0b68b80ca44ff72f338f84bb185095a6 Mon Sep 17 00:00:00 2001 From: Yuwen Memon Date: Mon, 19 Jul 2021 15:35:30 -0700 Subject: [PATCH 1/2] Modify line height so text does not get cut off in LHN --- src/components/Text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Text.js b/src/components/Text.js index 16f0836da089..bf784e764644 100644 --- a/src/components/Text.js +++ b/src/components/Text.js @@ -60,7 +60,7 @@ const Text = React.forwardRef(({ }; if (componentStyle.fontSize === variables.fontSizeNormal) { - componentStyle.lineHeight = 20; + componentStyle.lineHeight = 18; } return ( From f8c358e9d6e8c9e465af8ef9abef65f9fd1ed3f3 Mon Sep 17 00:00:00 2001 From: Yuwen Memon Date: Mon, 19 Jul 2021 17:23:48 -0700 Subject: [PATCH 2/2] adjust line height of option display name to avoid cutoff in Android --- src/components/Text.js | 2 +- src/styles/styles.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Text.js b/src/components/Text.js index bf784e764644..16f0836da089 100644 --- a/src/components/Text.js +++ b/src/components/Text.js @@ -60,7 +60,7 @@ const Text = React.forwardRef(({ }; if (componentStyle.fontSize === variables.fontSizeNormal) { - componentStyle.lineHeight = 18; + componentStyle.lineHeight = 20; } return ( diff --git a/src/styles/styles.js b/src/styles/styles.js index 2671bb581c56..b8caacafd319 100644 --- a/src/styles/styles.js +++ b/src/styles/styles.js @@ -800,8 +800,8 @@ const styles = { optionDisplayName: { fontFamily: fontFamily.GTA, - height: 18, - lineHeight: 18, + height: 20, + lineHeight: 20, ...whiteSpace.noWrap, },