Articles - Fixed some misconfigured css

This commit is contained in:
Camerin 2022-06-19 15:18:49 -04:00
parent f522a6e09e
commit acb244b1cb
2 changed files with 11 additions and 4 deletions

View File

@ -179,11 +179,11 @@ const Article = ({article}) => {
} else if (type[i] === 2) {
return <div className="h1" key={i}>{text}</div>;
return <div className="section-title" key={i}>{text}</div>;
} else if (type[i] === 3) {
return <li className="li" key={i}>{text}</li>;
return <li key={i}>{text}</li>;
} else {

View File

@ -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 {