Skip to content

Commit 0846f8a

Browse files
committed
fix: Fix the root cause of the iPad Safari mobile mode tap shrink bug
1 parent 17f8068 commit 0846f8a

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

layout/styles/layout.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ body {
1414
text-rendering: optimizeLegibility;
1515
-webkit-font-smoothing: antialiased;
1616
-moz-osx-font-smoothing: grayscale;
17-
-webkit-text-size-adjust: 110%;
17+
-webkit-text-size-adjust: 100%;
18+
19+
1820
}
1921

2022
body {
@@ -62,6 +64,7 @@ a, button, input, select, textarea {
6264
}
6365
}
6466

65-
html, body {
66-
-webkit-text-size-adjust: 100% !important; /* 또는 none !important; */
67-
}
67+
/* fix: Failed to resolve iPad Safari mobile mode touch element shrinking issue */
68+
// html, body {
69+
// -webkit-text-size-adjust: 100% !important; /* 또는 none !important; */
70+
// }

0 commit comments

Comments
 (0)