From 5f9c457bbdaaf9301613a15963123a03d54ce580 Mon Sep 17 00:00:00 2001
From: sakrecoer
Date: Tue, 20 Oct 2020 13:14:59 +0200
Subject: [PATCH] fix chat button alignment and remove useless condition for
old button
---
_layouts/post.html | 8 ++------
_sass/_elements.scss | 5 ++++-
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/_layouts/post.html b/_layouts/post.html
index c33cfc1..c94eeb6 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -95,9 +95,7 @@ layout: default
{% if page.link %}
{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}
{% endif %}
- {% if page.chat %}
- 📢 Chat with us! (beta)
- {% endif %}
+
{% endif %}
@@ -335,9 +333,7 @@ layout: default
{% if page.link %}
{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}
{% endif %}
- {% if page.chat %}
- 📢 Chat with us! (beta)
- {% endif %}
+
{% endif %}
{% include author.html %}
diff --git a/_sass/_elements.scss b/_sass/_elements.scss
index 7547547..6ffbb98 100644
--- a/_sass/_elements.scss
+++ b/_sass/_elements.scss
@@ -31,6 +31,9 @@ a:hover {
text-decoration-style: wavy;
text-decoration-color: unset;
}
+.center {
+ text-align: center;
+}
// Buttons
@@ -163,7 +166,7 @@ a:hover {
// Content Author
#author {
flex: 0 0 280px;
- margin: 20px;
+ margin: 0;
.date {
font-size:.85em;
}