aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Markdown/CodeBlock.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-04-05 12:56:41 +0300
committereug-vs <eug-vs@keemail.me>2020-04-05 12:56:41 +0300
commit39e1d32c669545ccc30e0d424323c6a01317c4be (patch)
tree29af728b62bd90f80ad36d947a1cccdb5685cd9f /src/lib/Markdown/CodeBlock.tsx
parentbc8e9919925d9d7ee640e8091aebe9596f9e89eb (diff)
downloadreact-benzin-39e1d32c669545ccc30e0d424323c6a01317c4be.tar.gz
refactor: move some logic to InlineSyntax.tsx
Diffstat (limited to 'src/lib/Markdown/CodeBlock.tsx')
-rw-r--r--src/lib/Markdown/CodeBlock.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Markdown/CodeBlock.tsx b/src/lib/Markdown/CodeBlock.tsx
index ee2114e..2718647 100644
--- a/src/lib/Markdown/CodeBlock.tsx
+++ b/src/lib/Markdown/CodeBlock.tsx
@@ -3,7 +3,7 @@ import { ParserPropTypes } from './types';
const CodeBlock: React.FC<ParserPropTypes> = ({ rawLines }) => {
return (
- <p style={{background: '#444444', padding: '8px' }}>
+ <p style={{background: 'rgba(255, 255, 255, .1)', padding: '8px' }}>
{rawLines.map(line => <> {line} <br/> </>)}
</p>
);