From acb244b1cb3112a02d828eca6930acf0bef58cc5 Mon Sep 17 00:00:00 2001 From: Camerin Date: Sun, 19 Jun 2022 15:18:49 -0400 Subject: [PATCH] Articles - Fixed some misconfigured css --- src/components/Article.js | 4 ++-- src/components/css/Articles.css | 11 +++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/Article.js b/src/components/Article.js index 0f5b918..f911715 100644 --- a/src/components/Article.js +++ b/src/components/Article.js @@ -179,11 +179,11 @@ const Article = ({article}) => { } else if (type[i] === 2) { - return
{text}
; + return
{text}
; } else if (type[i] === 3) { - return
  • {text}
  • ; + return
  • {text}
  • ; } else { diff --git a/src/components/css/Articles.css b/src/components/css/Articles.css index f803522..02e8536 100644 --- a/src/components/css/Articles.css +++ b/src/components/css/Articles.css @@ -29,6 +29,13 @@ line-height: 1.5; } +.article .section-title { + font-size: xx-large; + font-weight: bold; + margin-top: 1rem; + text-align: center; +} + .article .code { padding: 10px; background-color: #3A3B3B; @@ -44,8 +51,8 @@ margin-bottom: 10px; } -.article .li { - margin-left: 10px; +.article li { + margin-left: 2rem; } .article a {