1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-23 18:56:29 +02:00

Tweak colors

This commit is contained in:
Phuoc Nguyen
2021-04-01 16:04:59 +07:00
parent 354f8da849
commit e1b4c6efa2
9 changed files with 90 additions and 23 deletions

View File

@@ -19,15 +19,6 @@ const SampleCode: React.FC<SampleCodeProps> = ({ code, fullHeight = false, lang
: (
<pre
className={`language-${lang}`}
style={{
border: 'none',
borderRadius: 0,
boxShadow: 'none',
fontFamily: "'Source Code Pro', monospace",
height: fullHeight ? '100%' : 'auto',
lineHeight: 1.5,
margin: 0,
}}
dangerouslySetInnerHTML={{ __html: highlight(code, lang) }}
/>
);