Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hugo: Fix auto-font-size on iphone - safari #483

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JorindeUsMedia
Copy link
Collaborator

  • 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

Copy link

netlify bot commented Dec 17, 2024

Deploy Preview for cue ready!

Name Link
🔨 Latest commit 9f476b8
🔍 Latest deploy log https://app.netlify.com/sites/cue/deploys/67629db3d87be10008381cf5
😎 Deploy Preview https://deploy-preview-483--cue.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@myitcv
Copy link
Member

myitcv commented Dec 17, 2024

I will let @jpluscplusm check and action here, thanks!

- 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 /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 <jorinde.reijnierse@usmedia.nl>
@JorindeUsMedia JorindeUsMedia force-pushed the usmedia/3602-safari-fontsize branch from eccb946 to 9f476b8 Compare December 18, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cuelang.org: mobile rendering of JSON and CUE has inconsistent font sizes
2 participants