diff --git a/public/css/launcher.css b/public/css/launcher.css index cb58431..cdc1b3f 100644 --- a/public/css/launcher.css +++ b/public/css/launcher.css @@ -205,8 +205,6 @@ width: 350px; - max-height: 200px; - background: linear-gradient(#2b2115, #1a140d); border: 3px solid #8b6a3c; @@ -237,3 +235,13 @@ #online-list div:hover { background: #5b4325; } + +.online-dot { + display: inline-block; + width: 8px; + height: 8px; + background: #3cff3c; + border-radius: 50%; + margin-right: 6px; + box-shadow: 0 0 6px #3cff3c; +} diff --git a/public/js/chat.js b/public/js/chat.js index 32c0bb7..dd32523 100644 --- a/public/js/chat.js +++ b/public/js/chat.js @@ -97,7 +97,7 @@ socket.on("onlineUsers", (users) => { const name = typeof user === "object" ? user.name : user; - div.innerText = name; + div.innerHTML = ` ${name}`; div.onclick = () => { document.getElementById("chat-text").value = "/w " + name + " ";