diff options
author | eug-vs <eug-vs@keemail.me> | 2020-04-05 02:38:47 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-04-05 02:38:47 +0300 |
commit | 6087d49a95b6c4164068c219847efc1e70399cb5 (patch) | |
tree | d5d14d0b50aea103248cde0786a263f9f8be8342 /src/lib/Markdown | |
parent | 208322f596240d23ff8248733f4b196c1baf8a5a (diff) | |
download | react-benzin-6087d49a95b6c4164068c219847efc1e70399cb5.tar.gz |
feat: add some paddings
Diffstat (limited to 'src/lib/Markdown')
-rw-r--r-- | src/lib/Markdown/CodeBlock.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Markdown/CodeBlock.tsx b/src/lib/Markdown/CodeBlock.tsx index e449f92..ee2114e 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'}}> + <p style={{background: '#444444', padding: '8px' }}> {rawLines.map(line => <> {line} <br/> </>)} </p> ); |