all repos — honk @ 4e67f1c3d2be4b3a1cead08eb695af7d8a6f7a1f

my fork of honk

cooler mecount
Anirudh Oppiliappan x@icyphox.sh
Thu, 21 Sep 2023 10:38:15 +0300
commit

4e67f1c3d2be4b3a1cead08eb695af7d8a6f7a1f

parent

665c7e48c374c34d72d822ccc4eb458707b38ad5

2 files changed, 13 insertions(+), 2 deletions(-)

jump to
M views/honkpage.jsviews/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.cssviews/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; +}