Skip to content

Commit

Permalink
hugo: Fix auto-font-size on iphone - safari
Browse files Browse the repository at this point in the history
- Turn off webkit text-size-adjust so Safari in Iphone to make sure Safari doesn't zoom in the text anymore

To test:
Go to https://cuelang.org/docs/concept/how-cue-works-with-json/#validating-json-files-against-a-schema on Safari on an Iphone. The text inside the code block should no be zoomed in anymore

Fixes: cue-lang/cue#3602
Signed-off-by: Jorinde Reijnierse <[email protected]>
  • Loading branch information
JorindeUsMedia committed Dec 17, 2024
1 parent 79f44b2 commit eccb946
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 eccb946

Please sign in to comment.