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 {