diff --git a/src/components/Posts/PostItem.astro b/src/components/Posts/PostItem.astro index ab2de9d..abeb131 100644 --- a/src/components/Posts/PostItem.astro +++ b/src/components/Posts/PostItem.astro @@ -116,8 +116,8 @@ const tags = data.tags; list-style: none; margin: 0 0 1rem 0; padding-left: 0; - padding-bottom: 0.2rem; - padding-top: 0.2rem; + padding-bottom: 0.9rem; + padding-top: 0.9rem; } .post-link { @@ -276,5 +276,10 @@ const tags = data.tags; width: 145px; text-decoration: none; } + + .post-card { + padding-bottom: 0.2rem; + padding-top: 0.2rem; + } } diff --git a/src/styles/global.css b/src/styles/global.css index 05af1c9..ea6a034 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -59,7 +59,7 @@ html { body { margin: 0 auto; width: 100%; - max-width: 90ch; + max-width: 78ch; padding: 1rem; line-height: 1.7; font-size: 1.15rem;