From cf8eb8d210b620824799fe096bdf1d54a2ab5b65 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Mon, 15 Apr 2024 02:20:54 +0800 Subject: [PATCH] Add the article class --- src/_includes/main/article.njk | 2 +- src/assets/css/main.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/_includes/main/article.njk b/src/_includes/main/article.njk index 1340b91e..12e7d103 100644 --- a/src/_includes/main/article.njk +++ b/src/_includes/main/article.njk @@ -22,7 +22,7 @@ eleventyComputed: {% include "toc.njk" %} {% endif %} -
+
{{ content | safe }}
\ No newline at end of file diff --git a/src/assets/css/main.css b/src/assets/css/main.css index 82f2863b..254e234c 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -263,7 +263,7 @@ main { } .main__header, -article, +.article, .left-sidebar, .right-sidebar { background-color: var(--clr-content-bg); @@ -296,7 +296,7 @@ article, grid-template-columns: minmax(0,15rem) minmax(0,2.5fr) minmax(0,15rem); } - article { + .article { grid-area: b; }