cooler mecount
Anirudh Oppiliappan x@icyphox.sh
Thu, 21 Sep 2023 10:38:15 +0300
2 files changed,
13 insertions(+),
2 deletions(-)
M
views/honkpage.js
→
views/honkpage.js
@@ -105,13 +105,13 @@ var honks = doc.children
var mecount = document.getElementById("mecount") if (resp.MeCount) { - mecount.innerHTML = "(" + resp.MeCount + ")" + mecount.innerHTML = resp.MeCount } else { mecount.innerHTML = "" } var chatcount = document.getElementById("chatcount") if (resp.ChatCount) { - chatcount.innerHTML = "(" + resp.ChatCount + ")" + chatcount.innerHTML = resp.ChatCount } else { chatcount.innerHTML = "" }
M
views/style.css
→
views/style.css
@@ -577,3 +577,14 @@
#searchbox { width: 95%; } + +#mecount { + border-radius: 50%; + text-align: center; + color: var(--darker); + background: var(--bg-dark); + width: 18px; + display: inline-block; + margin-left: 5px; + box-sizing: content-box; +}