Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Commit 40c3559

Browse files
committed
feat: improve font scaling in mobile safari
1 parent 965f5c9 commit 40c3559

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cherry-components",
3-
"version": "0.0.1-2",
3+
"version": "0.0.1-3",
44
"description": "Cherry React Components",
55
"main": "dist/cherry.js",
66
"module": "dist/cherry.module.js",

src/globalStyles.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const globalStyles = (
1818
1919
body {
2020
-moz-osx-font-smoothing: grayscale;
21+
-webkit-text-size-adjust: 100%;
2122
-webkit-font-smoothing: antialiased;
2223
font-family: ${theme.fonts.text};
2324
font-size: ${theme.sizes.text.size.mobile};

0 commit comments

Comments
 (0)