Skip to content

Commit

Permalink
Fix line-height glitch on TextField's label
Browse files Browse the repository at this point in the history
Fix line-height glitch on TextField's label using custom fonts
  • Loading branch information
Iskander508 authored Feb 25, 2022
1 parent d979a59 commit 681265f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/label/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default class Label extends PureComponent {
})

let textStyle = {
lineHeight: fontSize,
lineHeight: (style && style.lineHeight) || fontSize,
fontSize,
color,
}
Expand Down

0 comments on commit 681265f

Please sign in to comment.