diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 44ba42ba..1c72b68c 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1510,8 +1510,16 @@ select { margin-top: 1.25rem; } -.mt-4 { - margin-top: 1rem; +.mt-2\.5 { + margin-top: 0.625rem; +} + +.mb-6 { + margin-bottom: 1.5rem; +} + +.mt-2 { + margin-top: 0.5rem; } .mt-3 { @@ -1534,6 +1542,10 @@ select { margin-top: 0.1rem; } +.mt-4 { + margin-top: 1rem; +} + .\!mt-0 { margin-top: 0px !important; } @@ -3696,7 +3708,7 @@ body:has(#menu-controller:checked) { } @media (min-width: 1280px) { - .xl\:w-1\/5 { - width: 20%; + .xl\:w-1\/4 { + width: 25%; } } \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 532aa1e2..fb2cbd65 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -8,7 +8,7 @@

{{ .Title | emojify }}

-
+
{{ partial "article-meta.html" (dict "context" . "scope" "single") }}
@@ -66,7 +66,7 @@ liked_article = true document.querySelectorAll("span[id='likes_button_heart']")[0].style.display = "" document.querySelectorAll("span[id='likes_button_emtpty_heart']")[0].style.display = "none" - document.querySelectorAll("span[id='likes_button_text']")[0].innerText = "Remove Like" + document.querySelectorAll("span[id='likes_button_text']")[0].innerText = "" } } @@ -80,7 +80,7 @@ localStorage.setItem(id_likes, true); document.querySelectorAll("span[id='likes_button_heart']")[0].style.display = "" document.querySelectorAll("span[id='likes_button_emtpty_heart']")[0].style.display = "none" - document.querySelectorAll("span[id='likes_button_text']")[0].innerText = "Remove Like" + document.querySelectorAll("span[id='likes_button_text']")[0].innerText = "" if (doc.exists) { db.collection('likes').doc(id_likes).update({ likes: firebase.firestore.FieldValue.increment(1) @@ -108,7 +108,7 @@ localStorage.removeItem(id_likes); document.querySelectorAll("span[id='likes_button_heart']")[0].style.display = "none" document.querySelectorAll("span[id='likes_button_emtpty_heart']")[0].style.display = "" - document.querySelectorAll("span[id='likes_button_text']")[0].innerText = "Like" + document.querySelectorAll("span[id='likes_button_text']")[0].innerText = "\xa0Like" if (doc.exists) { db.collection('likes').doc(id_likes).update({ likes: firebase.firestore.FieldValue.increment(-1) diff --git a/layouts/partials/meta/likes_button.html b/layouts/partials/meta/likes_button.html index 919f3059..43ac61f1 100644 --- a/layouts/partials/meta/likes_button.html +++ b/layouts/partials/meta/likes_button.html @@ -1,12 +1,11 @@ {{- /* Trim EOF */ -}} \ No newline at end of file