Skip to content

Commit

Permalink
hugo: Fix auto-font-size on iPhone / mobile Safari
Browse files Browse the repository at this point in the history
Turn off webkit text-size-adjust so Safari on iPhone doesn't zoom text
that it thinks is too small.

Closes #483 as merged as of commit 9f476b872.

Fixes: cue-lang/cue#3602
Signed-off-by: Jorinde Reijnierse <[email protected]>
Change-Id: Ia72f49a457754a0e3b75d9361917f0de3f96b271
Dispatch-Trailer: {"type":"trybot","CL":1206289,"patchset":1,"ref":"refs/changes/89/1206289/1","targetBranch":"master"}
  • Loading branch information
JorindeUsMedia authored and cueckoo committed Dec 23, 2024
1 parent 79f44b2 commit 8b422c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hugo/assets/scss/base/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ body {

background-color: var(--body-background, $c-white);
color: var(--text-color);
-webkit-text-size-adjust: 100%;
}

h1,
Expand Down

0 comments on commit 8b422c3

Please sign in to comment.