From 67d2514edca19add527f8794d1df53f8791c8c78 Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Wed, 29 Mar 2023 17:04:07 +0300 Subject: [PATCH] Group UI tweaks --- public/index.html | 18 ++++++++++-------- public/scripts/group-chats.js | 1 + public/style.css | 7 ++++++- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/public/index.html b/public/index.html index e090118f9..967c78c2c 100644 --- a/public/index.html +++ b/public/index.html @@ -1033,14 +1033,16 @@
- - +
+ + +
 
diff --git a/public/scripts/group-chats.js b/public/scripts/group-chats.js index 9a945af5d..aa93b9b47 100644 --- a/public/scripts/group-chats.js +++ b/public/scripts/group-chats.js @@ -505,6 +505,7 @@ function select_group_chats(chat_id) { $("#rm_group_chat_name").on("input", async function () { if (chat_id) { group.name = $(this).val(); + $("#rm_button_selected_ch").children("h2").text(group.name); await editGroup(chat_id); } }); diff --git a/public/style.css b/public/style.css index c54f81f7b..7e6d43536 100644 --- a/public/style.css +++ b/public/style.css @@ -2113,10 +2113,15 @@ input[type="range"]{ flex-direction: row; width: 100%; align-items: center; - margin-bottom: 5px; + margin-bottom: 10px; column-gap: 10px; } +.rm_group_settings { + display: flex; + flex-direction: column; +} + #rm_group_buttons .checkbox { display: flex; }