fix(css): Font size inconsistency in code snippets on iOS
- Added CSS rules to ensure consistent font size for code elements across iOS devices. This change addresses the font size imbalance issue reported in code snippets. - Related issue: https://github.com/adityatelange/hugo-PaperMod/issues/828
This commit is contained in:
parent
2cc41d38a6
commit
9128274b02
@ -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%;
|
||||
|
Loading…
x
Reference in New Issue
Block a user