Skip to content

Commit

Permalink
use font smooth subpixel-antialiased
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Aug 5, 2021
1 parent 3b746d4 commit 1d753ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/src/components/home/CoreShowcase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ export default function CoreShowcase() {
display: 'none',
},
},
'& code': {
WebkitFontSmoothing: 'subpixel-antialiased',
},
}}
>
<HighlightedCode component={MarkdownElement} code={codeImports} language="jsx" />
Expand Down

0 comments on commit 1d753ab

Please sign in to comment.