Skip to content

Commit

Permalink
[B] Clamp --font-size-adjustment value
Browse files Browse the repository at this point in the history
  • Loading branch information
dananjohnson committed Sep 17, 2024
1 parent d2a3327 commit 6eaaf6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/theme/styles/utility/typography.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const readerFontSizeClasses = readerFontSizes
font-size: calc(${fluidScale(
desktop,
mobile
)} * var(--font-size-adjustment));
)} * clamp(0.5, var(--font-size-adjustment), 1.5));
}
`
)
Expand Down

0 comments on commit 6eaaf6e

Please sign in to comment.