From b74897afe41962312828ffd362b7dd5ee8336775 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Thu, 9 Apr 2020 12:05:35 +0300
Subject: feat: wrap no-section header into Typography

---
 src/lib/Markdown/Section.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/lib/Markdown/Section.tsx')

diff --git a/src/lib/Markdown/Section.tsx b/src/lib/Markdown/Section.tsx
index 987b771..1fcc46f 100644
--- a/src/lib/Markdown/Section.tsx
+++ b/src/lib/Markdown/Section.tsx
@@ -1,5 +1,6 @@
 import React from 'react';
 import ContentSection from '../ContentSection/ContentSection';
+import { Typography } from '@material-ui/core';
 import Content from './Content';
 import { ParserPropTypes } from './types';
 
@@ -32,7 +33,7 @@ const Section: React.FC<PropTypes> = ({ rawLines, level = 0 }) => {
 
   if (!level) return (
     <>
-      <Content rawLines={rawContent} />
+      <Typography> <Content rawLines={rawContent} /> </Typography>
       <ChildrenSections rawLines={rawLines} level={getHeaderLevel(rawLines[0])}/>
     </>
   )
-- 
cgit v1.2.3

