mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-08-10 10:42:54 +02:00
fix: show unread counts as badges in the narrow-screen channel list
The dropdown already rendered a .sidebar-unread-badge element, but the styling rule was scoped to .channel-sidebar-item, so on narrow screens the count fell back to plain text in the row's own colour. Extend the selector to .channel-selector-item so both views share one badge style. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -118,7 +118,9 @@ main {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.channel-sidebar-item .sidebar-unread-badge {
|
||||
/* Same badge in the sidebar (wide) and the navbar dropdown (narrow) */
|
||||
.channel-sidebar-item .sidebar-unread-badge,
|
||||
.channel-selector-item .sidebar-unread-badge {
|
||||
background-color: var(--sender-color);
|
||||
color: white;
|
||||
border-radius: 10px;
|
||||
|
||||
Reference in New Issue
Block a user