We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93aa5a7 commit 407e6ebCopy full SHA for 407e6eb
.changeset/polite-queens-roll.md
@@ -0,0 +1,5 @@
1
+---
2
+'@clerk/clerk-js': patch
3
4
+
5
+Fix line height calculations.
packages/clerk-js/src/ui/foundations/typography.ts
@@ -9,10 +9,10 @@ const fontWeights = Object.freeze({
9
10
const lineHeights = Object.freeze({
11
normal: 'normal',
12
- extraSmall: '16 / 12', // = 1.33333
13
- small: '18 / 13', // = 1.38462
14
- medium: '24 / 17', // = 1.41176
15
- large: '16 / 11', // = 1.45455
+ extraSmall: 'calc(16 / 12)', // = 1.33333
+ small: 'calc(18 / 13)', // = 1.38462
+ medium: 'calc(24 / 17)', // = 1.41176
+ large: 'calc(16 / 11)', // = 1.45455
16
} as const);
17
18
const letterSpacings = Object.freeze({
0 commit comments