From 8e2dc6f2f44b57f847ea51045fe13d50a4b08a73 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 31 Mar 2021 16:12:34 +0200 Subject: [PATCH] change the distance between blog category buttons a bit --- scripts/blog.js | 4 ++-- style/style.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/blog.js b/scripts/blog.js index 63a3635..2f82456 100644 --- a/scripts/blog.js +++ b/scripts/blog.js @@ -23,14 +23,14 @@ function populateBlog(json, currCat) { cats.html(""); // force all and featured categories to be first - addCatButton(json, cats, "All", currCat); + addCatButton(json, cats, "All Posts", currCat); addCatButton(json, cats, "Featured", currCat); for (let i = json.length - 1; i >= 0; i--) { let post = json[i]; for (let cat of post.cat) addCatButton(json, cats, cat, currCat); - if (currCat === "All" || post.cat.includes(currCat)) { + if (currCat === "All Posts" || post.cat.includes(currCat)) { let p = /*html*/ `
diff --git a/style/style.css b/style/style.css index 3bb2d68..2081611 100644 --- a/style/style.css +++ b/style/style.css @@ -85,7 +85,7 @@ body { .blog-cat-button { padding: 0px; - margin-right: 10px; + margin-right: 15px; } #blog-archive-button {