diff --git a/src/modules/chat/components/ChatConversationList.jsx b/src/modules/chat/components/ChatConversationList.jsx index feda181..914ade2 100644 --- a/src/modules/chat/components/ChatConversationList.jsx +++ b/src/modules/chat/components/ChatConversationList.jsx @@ -23,6 +23,29 @@ function ChannelBadge({ channel }) { ); } +function PresenceDot({ status }) { + const color = + status === 'online' + ? '#16a34a' + : status === 'away' + ? '#e5a22a' + : '#dc2626'; + + return ( + + ); +} + export function ChatConversationList({ contacts, activeContactId, @@ -37,7 +60,10 @@ export function ChatConversationList({ borderRadius: '28px', padding: '1rem', display: 'grid', + gridTemplateRows: 'auto minmax(0, 1fr)', gap: '0.85rem', + height: isMobile ? 'auto' : 'min(760px, calc(100vh - 190px))', + minHeight: 0, }} >