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
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1206289
TryBot-Result: CUEcueckoo <[email protected]>
Reviewed-by: Daniel Martí <[email protected]>
  • Loading branch information
JorindeUsMedia authored and jpluscplusm committed Dec 23, 2024
1 parent e81f870 commit ec9ff51
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 ec9ff51

Please sign in to comment.