Skip to content

Commit

Permalink
adjust line height of option display name to avoid cutoff in Android
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwenmemon committed Jul 20, 2021
1 parent b13f9c7 commit f8c358e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const Text = React.forwardRef(({
};

if (componentStyle.fontSize === variables.fontSizeNormal) {
componentStyle.lineHeight = 18;
componentStyle.lineHeight = 20;
}

return (
Expand Down
4 changes: 2 additions & 2 deletions src/styles/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -800,8 +800,8 @@ const styles = {

optionDisplayName: {
fontFamily: fontFamily.GTA,
height: 18,
lineHeight: 18,
height: 20,
lineHeight: 20,
...whiteSpace.noWrap,
},

Expand Down

0 comments on commit f8c358e

Please sign in to comment.