From 1dd9b457cae30c2b6f9066359b8c418fbb71c19a Mon Sep 17 00:00:00 2001 From: daudix Date: Sat, 30 Mar 2024 21:38:06 +0300 Subject: [PATCH] Revert back to using goqr.me API for comment QR DDG doesn't seem to work in "production" for some reason, while it works perfectly fine locally :/ --- config.toml | 2 +- sass/_qrcode.scss | 6 +++--- templates/partials/comments.html | 13 +------------ 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/config.toml b/config.toml index 6037f44..23a664c 100644 --- a/config.toml +++ b/config.toml @@ -82,5 +82,5 @@ show_source = true host = "mstdn.social" # Used to determine who the original poster is user = "Daudix" -# Display the QR code to Mastodon post (utilizes DuckDuckGo Instant Answer API) +# Display the QR code to Mastodon post show_qr = true diff --git a/sass/_qrcode.scss b/sass/_qrcode.scss index a62e599..c000e40 100644 --- a/sass/_qrcode.scss +++ b/sass/_qrcode.scss @@ -1,10 +1,10 @@ #qrcode { background-color: white; float: right; - height: 160px; + height: 150px; margin: 3rem 0 0 1rem; - padding: 6px; - width: 160px; + padding: 12.5px; + width: 150px; @media only screen and (max-width: 720px) { & { diff --git a/templates/partials/comments.html b/templates/partials/comments.html index 89cf0e6..d111ea6 100644 --- a/templates/partials/comments.html +++ b/templates/partials/comments.html @@ -17,18 +17,7 @@
{% if config.extra.comments.show_qr %} - QR code to a Mastodon post - + QR code to a Mastodon post {% endif %}

Comments