From 1616a1c011883140c70f023d4aaa91978429ae38 Mon Sep 17 00:00:00 2001 From: "M. Allen Jeffrey" Date: Fri, 17 Nov 2023 13:33:35 +0800 Subject: [PATCH 1/5] replace blue border with gray border --- partials/post-card.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partials/post-card.hbs b/partials/post-card.hbs index d2d8729d..70509606 100644 --- a/partials/post-card.hbs +++ b/partials/post-card.hbs @@ -1,4 +1,4 @@ -
+
{{#if feature_image}} {{title}} From e4d143667d04a508c86847505243b89b93504a85 Mon Sep 17 00:00:00 2001 From: "M. Allen Jeffrey" Date: Fri, 17 Nov 2023 14:08:01 +0800 Subject: [PATCH 2/5] center tag on featured articles --- partials/featured.hbs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/partials/featured.hbs b/partials/featured.hbs index 921b87a2..8a7aeeb4 100644 --- a/partials/featured.hbs +++ b/partials/featured.hbs @@ -29,13 +29,14 @@
{{/if}}
-
+
{{#foreach tags from="1"}} - - - + + + {{/foreach}}

{{title}}

From 50cf88ebf8bb9a8faa8f263e1a78ca9e95519601 Mon Sep 17 00:00:00 2001 From: "M. Allen Jeffrey" Date: Fri, 17 Nov 2023 14:11:34 +0800 Subject: [PATCH 3/5] remove overlapping commit --- partials/post-card.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partials/post-card.hbs b/partials/post-card.hbs index 70509606..d2d8729d 100644 --- a/partials/post-card.hbs +++ b/partials/post-card.hbs @@ -1,4 +1,4 @@ -
+
{{#if feature_image}} {{title}} From 294b126b9bbc548b73debccb99f596cfd691f460 Mon Sep 17 00:00:00 2001 From: "M. Allen Jeffrey" Date: Fri, 24 Nov 2023 10:04:33 +0800 Subject: [PATCH 4/5] center tags only if more than 1 tag for post --- partials/featured.hbs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/partials/featured.hbs b/partials/featured.hbs index 8a7aeeb4..1320f4f6 100644 --- a/partials/featured.hbs +++ b/partials/featured.hbs @@ -29,7 +29,7 @@
{{/if}}
-
+
{{#foreach tags from="1"}} Date: Fri, 24 Nov 2023 12:46:25 +0800 Subject: [PATCH 5/5] max-width of tag --- assets/css/blog/featured.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/assets/css/blog/featured.css b/assets/css/blog/featured.css index 35cc5015..c4d12ac5 100644 --- a/assets/css/blog/featured.css +++ b/assets/css/blog/featured.css @@ -42,3 +42,23 @@ margin-top: 20px; margin-left: 20px; } + +@media (max-width: 767px) { + .flex.items-center { + display: block; + text-align: center; + justify-content: center; + } + + .flex.items-center > span { + max-width: calc(50% - 0.75rem); + display: inline-block; + margin-right: 0.5rem; + margin-bottom: 0.5rem; + } + + .flex.items-center > span:nth-child(3) { + max-width: 100%; + margin-right: 0; + } +}