From 6087d49a95b6c4164068c219847efc1e70399cb5 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 5 Apr 2020 02:38:47 +0300 Subject: feat: add some paddings --- src/lib/ContentSection/ContentSection.tsx | 2 +- src/lib/Markdown/CodeBlock.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') 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 = ({ rawLines }) => { return ( -

+

{rawLines.map(line => <> {line}
)}

); -- cgit v1.2.3