Skip to content

Commit

Permalink
docs(typography): fix line-height unit (#2738)
Browse files Browse the repository at this point in the history
  • Loading branch information
janhassel authored Feb 16, 2022
1 parent 8634619 commit 53ef788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TypesetStyle/TypesetExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const TypesetExample = (props) => (
// eslint-disable-next-line no-useless-concat
lineHeight: `${`${calculateFluidLineHeight('line-height')}px / `}${
currentBreakpointSpecs['line-height']
}em`,
}rem`,
letterSpacing: currentBreakpointSpecs['letter-spacing']
.toString()
.replace('0.', '.'),
Expand Down

1 comment on commit 53ef788

@vercel
Copy link

@vercel vercel bot commented on 53ef788 Feb 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.