From 169612bb3d48b420b06638c871471ba142b5e903 Mon Sep 17 00:00:00 2001
From: Ivan Chen
Date: Fri, 22 Dec 2023 10:26:01 -0500
Subject: [PATCH 1/2] Update article page style for better readability
---
components/GenerateContributorsJSX.tsx | 4 +--
pages/article/[article_slug].tsx | 8 ++---
styles/[article_slug].module.css | 47 +++++++++++++++++---------
3 files changed, 37 insertions(+), 22 deletions(-)
diff --git a/components/GenerateContributorsJSX.tsx b/components/GenerateContributorsJSX.tsx
index 9dec944..264e357 100644
--- a/components/GenerateContributorsJSX.tsx
+++ b/components/GenerateContributorsJSX.tsx
@@ -18,8 +18,8 @@ export default function generate_contributors_jsx(
>
{contributor.name}
- {separator}
-
+
+ {separator}
);
diff --git a/pages/article/[article_slug].tsx b/pages/article/[article_slug].tsx
index fde1e6c..a4c2fcf 100644
--- a/pages/article/[article_slug].tsx
+++ b/pages/article/[article_slug].tsx
@@ -93,16 +93,16 @@ function Article(props: Props) {
{title}
{summary}
-
- {generateApproxReadingTime()}
-
By
{generate_contributors_jsx(contributors)}
-
+
+
+ {generateApproxReadingTime()}
+
Date: Sat, 23 Dec 2023 12:11:52 -0500
Subject: [PATCH 2/2] Bump max-width to 720px
---
styles/[article_slug].module.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/styles/[article_slug].module.css b/styles/[article_slug].module.css
index 851c38e..3ead509 100644
--- a/styles/[article_slug].module.css
+++ b/styles/[article_slug].module.css
@@ -1,6 +1,6 @@
#main {
width: 95vw;
- max-width: 700px;
+ max-width: 720px;
padding-top: 1rem;
margin: 0 auto;
}