Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #814 from matrix-org/alfogrillo/fix-fonts
Browse files Browse the repository at this point in the history
Fix code block / inline code fonts
  • Loading branch information
Alfonso Grillo authored Sep 18, 2023
2 parents 3e43465 + 917425b commit 6f862ed
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,15 @@ public final class HTMLParser {
pre {
background-color: \(TempColor.codeBlock.toHexString());
display: block;
font-family: monospace;
white-space: pre;
-coretext-fontname: Menlo-Regular;
-coretext-fontname: .AppleSystemUIFontMonospaced-Regular;
font-size: inherit;
}
code {
background-color: \(TempColor.inlineCode.toHexString());
display: inline;
font-family: monospace;
white-space: pre;
-coretext-fontname: Menlo-Regular;
-coretext-fontname: .AppleSystemUIFontMonospaced-Regular;
font-size: inherit;
}
h1,h2,h3 {
Expand Down

0 comments on commit 6f862ed

Please sign in to comment.