diff --git a/template/src/HtmlArticle.tsx b/template/src/HtmlArticle.tsx index 60eb9fd..9fe05e8 100644 --- a/template/src/HtmlArticle.tsx +++ b/template/src/HtmlArticle.tsx @@ -14,7 +14,7 @@ const clean = new CleanCSS({ level: 2 }); const useStyle = createUseStyles({ body: { - '& h1, & h2, & h3, & h4, & h5, & h6, & p': { + '& h1, & h2, & h3, & h4, & h5, & h6': { margin: 0, }, } diff --git a/template/src/HtmlIndex.tsx b/template/src/HtmlIndex.tsx index e8a4c03..9052784 100644 --- a/template/src/HtmlIndex.tsx +++ b/template/src/HtmlIndex.tsx @@ -12,7 +12,7 @@ const clean = new CleanCSS({ level: 2 }); const useStyle = createUseStyles({ body: { - '& h1, & h2, & h3, & h4, & h5, & h6, & p': { + '& h1, & h2, & h3, & h4, & h5, & h6': { margin: 0, } }