Skip to content

Commit

Permalink
Fixes #3478: MUC participant status indicator misplaced
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbrand committed Oct 12, 2024
1 parent 1353954 commit 5a29833
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
6 changes: 5 additions & 1 deletion src/plugins/muc-views/styles/muc-occupants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
15 changes: 15 additions & 0 deletions src/plugins/rosterview/styles/roster.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5a29833

Please sign in to comment.