summaryrefslogtreecommitdiff
path: root/client-web/source/chat.ts
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2023-09-23 22:06:46 +0200
committermetamuffin <metamuffin@disroot.org>2023-09-23 22:11:30 +0200
commitc283c98446d21adb0d5a3513ea0bde9e9b08a511 (patch)
tree2bf7aa0a4036993ffbc1e74246a446b2ed077e9f /client-web/source/chat.ts
parentbfcbe5a95d870b8080d33cbbacf3fde36c476e69 (diff)
downloadkeks-meet-c283c98446d21adb0d5a3513ea0bde9e9b08a511.tar
keks-meet-c283c98446d21adb0d5a3513ea0bde9e9b08a511.tar.bz2
keks-meet-c283c98446d21adb0d5a3513ea0bde9e9b08a511.tar.zst
Fix CSS and add new chat design
Signed-off-by: metamuffin <metamuffin@disroot.org>
Diffstat (limited to 'client-web/source/chat.ts')
-rw-r--r--client-web/source/chat.ts3
1 files changed, 1 insertions, 2 deletions
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