Skip to content

Commit

Permalink
fix ios font bug (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosgauci committed Apr 21, 2023
1 parent 6f06f75 commit f72df7e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions themes/haystack/assets/sass/components/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,11 @@ pre {
font-size: var(--text-base);
}
}

// Fixes iOS font sizing anomaly - https://github.com/adityatelange/hugo-PaperMod/issues/828
code {
text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}

1 comment on commit f72df7e

@vercel
Copy link

@vercel vercel bot commented on f72df7e Apr 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.