aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-04-05 02:38:47 +0300
committereug-vs <eug-vs@keemail.me>2020-04-05 02:38:47 +0300
commit6087d49a95b6c4164068c219847efc1e70399cb5 (patch)
treed5d14d0b50aea103248cde0786a263f9f8be8342 /src
parent208322f596240d23ff8248733f4b196c1baf8a5a (diff)
downloadreact-benzin-6087d49a95b6c4164068c219847efc1e70399cb5.tar.gz
feat: add some paddings
Diffstat (limited to 'src')
-rw-r--r--src/lib/ContentSection/ContentSection.tsx2
-rw-r--r--src/lib/Markdown/CodeBlock.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ContentSection/ContentSection.tsx b/src/lib/ContentSection/ContentSection.tsx
index 7ff47f9..68ecbca 100644
--- a/src/lib/ContentSection/ContentSection.tsx
+++ b/src/lib/ContentSection/ContentSection.tsx
@@ -13,7 +13,7 @@ interface PropTypes {
const useStyles = makeStyles(theme => ({
content: {
- padding: theme.spacing(0, 2, 1, 2),
+ padding: theme.spacing(1, 2, 1, 3),
marginBottom: theme.spacing(1),
'& .MuiButton-root': {
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>
);