From c283c98446d21adb0d5a3513ea0bde9e9b08a511 Mon Sep 17 00:00:00 2001 From: tpart Date: Sat, 23 Sep 2023 22:06:46 +0200 Subject: Fix CSS and add new chat design Signed-off-by: metamuffin --- client-web/source/chat.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client-web/source/chat.ts') diff --git a/client-web/source/chat.ts b/client-web/source/chat.ts index a38a135..a28f6c7 100644 --- a/client-web/source/chat.ts +++ b/client-web/source/chat.ts @@ -27,12 +27,11 @@ export class Chat { const send = document.createElement("input") send.ariaLabel = "send message" send.type = "text" - send.placeholder = "send a message..." + send.placeholder = "Type a message" const messages = e("div", { class: "messages", aria_live: "polite" }) const controls = e("div", { class: "controls" }) controls.append(send) - messages.append(document.createElement("hr")) this.element = e("section", { class: "chat", aria_label: "chat", role: "dialog" }, messages, controls) this.messages = messages -- cgit v1.2.3-70-g09d2