2
0
Эх сурвалжийг харах

Fixes #3478: MUC participant status indicator misplaced

JC Brand 9 сар өмнө
parent
commit
5a29833875

+ 1 - 1
CHANGES.md

@@ -19,6 +19,7 @@
 - #3337: Correctly display multiline nested quotes
 - #3362: Don't create empty nick element in bookmarks
 - #3476: better UI for form "fixed" fields
+- #3478: MUC participant status indicator misplaced 
 - Fix: MUC occupant list does not sort itself on nicknames or roles changes
 - Fix: refresh the MUC sidebar when participants collection is sorted
 - Fix: room information not correctly refreshed when modifications are made by other users
@@ -31,7 +32,6 @@
 - Add an occupants filter to the MUC sidebar
 - Change contacts filter to rename the anachronistic `Online` state to `Available`.
 - Enable [reuse_scram_keys](https://conversejs.org/docs/html/configuration.html#reuse-scram-keys) by default.
-- New loadEmojis hook, to customize emojis at runtime.
 - New `loadEmojis` hook, to customize emojis at runtime.
 - Upgrade to Bootstrap 5
 - Add a new theme 'Cyberpunk' and remove the old 'Concord' theme.

+ 5 - 1
src/plugins/muc-views/styles/muc-occupants.scss

@@ -9,12 +9,16 @@
 
         .chat-status--avatar {
             background: var(--occupants-background-color);
-            border: 1px solid var(--occupants-background-color);
+            border: 2px solid var(--occupants-background-color);
             font-size: 0.6rem;
             margin-top: 0;
             margin-left: -0.3em;
             margin-bottom: -2em;
             padding: 0.1em;
+
+            svg {
+                display: flex;
+            }
         }
 
         .badge-groupchat {

+ 15 - 0
src/plugins/rosterview/styles/roster.scss

@@ -90,9 +90,24 @@
                     }
                 }
 
+                &:hover {
+                    .open-chat {
+                        converse-icon.chat-status {
+                            border: 2px solid var(--controlbox-pane-bg-hover-color);
+                        }
+                    }
+                }
+
                 .open-chat {
                     margin: 0;
                     padding: 0;
+                    converse-icon.chat-status {
+                        border: 2px solid var(--controlbox-pane-background-color);
+                        svg {
+                            display: flex;
+                        }
+                    }
+
                     &.unread-msgs {
                         font-weight: bold;
                         color: var(--unread-msgs-color);