diff --git a/src/alf/typography.tsx b/src/alf/typography.tsx index 3c3bb95489..e88f6417f6 100644 --- a/src/alf/typography.tsx +++ b/src/alf/typography.tsx @@ -27,7 +27,7 @@ export function normalizeTextStyles( ) { const s = flatten(styles) // should always be defined on these components - s.fontSize = (s.fontSize || atoms.text_md.fontSize) * fontScale + s.fontSize = Math.round((s.fontSize || atoms.text_md.fontSize) * fontScale) if (s?.lineHeight) { if (s.lineHeight !== 0 && s.lineHeight <= 2) {