Skip to content

Commit cca7d32

Browse files
committed
Add fontSize and lineHeight to list of props that should be viewport-scaled"
1 parent aadcab3 commit cca7d32

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/react-strict-dom/src/native/css/isLengthStyleKey.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const lengthStyleKeySet: Set<string> = new Set([
3333
'borderWidth',
3434
'bottom',
3535
'columnGap',
36+
'fontSize',
3637
'gap',
3738
'height',
3839
'inlineSize',
@@ -43,6 +44,7 @@ export const lengthStyleKeySet: Set<string> = new Set([
4344
'insetInline',
4445
'insetInlineEnd',
4546
'insetInlineStart',
47+
'lineHeight',
4648
'left',
4749
'margin',
4850
'marginBlock',

0 commit comments

Comments
 (0)