Merge pull request #31 from younsl/css/mobile-font-size

fix(css): Font size inconsistency in code snippets on iOS
This commit is contained in:
Hanwen Guo 2024-11-30 19:39:20 -07:00 committed by GitHub
commit ac8c70f471
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,6 +118,13 @@ table, th, td {
padding: 0.4rem;
}
code {
text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
code:not(pre > code) {
padding: 0.1em 0.2em;
font-size: 90%;