1
0
mirror of https://github.com/algora-io/tv.git synced 2025-02-04 01:53:25 +02:00

fix new message spacing

This commit is contained in:
zafer 2024-05-03 16:19:56 +03:00
parent fb40150fe5
commit 3f427379a6

View File

@ -42,6 +42,7 @@ const init = () => {
channel.on("new_msg", (payload) => { channel.on("new_msg", (payload) => {
const messageItem = document.createElement("div"); const messageItem = document.createElement("div");
messageItem.className = "px-4";
const senderItem = document.createElement("span"); const senderItem = document.createElement("span");
senderItem.innerText = `${payload.user.handle}: `; senderItem.innerText = `${payload.user.handle}: `;