Fix code block text sizing on mobile safari

This commit is contained in:
BBaoVanC 2023-01-24 01:54:27 -06:00
parent 23f86d5982
commit 0744af717d
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
1 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,8 @@
html {
font-family: var(--font-sans);
/* otherwise code block lines have random text sizes on mobile safari */
-webkit-text-size-adjust: none;
}
pre, code, kbd, samp, textarea {
font-family: var(--font-mono);