diff --git a/static/assets/js/chat.js b/static/assets/js/chat.js index f0ed084..33b4072 100644 --- a/static/assets/js/chat.js +++ b/static/assets/js/chat.js @@ -297,7 +297,7 @@ function chatBuildChannelRow(channelId, label, subLabel, opts) { opts = opts || {}; var row = document.createElement('div'); row.id = 'chat-channel-row-' + channelId; - row.style.cssText = 'display:flex; align-items:center; gap:0.5rem; padding:0.5rem 0.625rem; border-bottom:1px solid var(--color-border); cursor:pointer;' + + row.style.cssText = 'display:flex; align-items:center; gap:0.5rem; padding:0.5rem 0.75rem; border-bottom:1px solid var(--color-border); cursor:pointer;' + (channelId === chatCurrentChannelId ? ' background:hsl(0 72% 44% / 0.06);' : ''); row.onmouseover = function () { if (channelId !== chatCurrentChannelId) row.style.background = 'var(--color-muted)'; }; row.onmouseout = function () { if (channelId !== chatCurrentChannelId) row.style.background = ''; }; diff --git a/templates/pages/chat.html b/templates/pages/chat.html index cc0778c..524c6a0 100644 --- a/templates/pages/chat.html +++ b/templates/pages/chat.html @@ -13,20 +13,25 @@