style: Remove conditional background color for selected conversation items.
This commit is contained in:
@@ -302,9 +302,7 @@ export default function MessagePage() {
|
|||||||
<div
|
<div
|
||||||
key={conversation.id}
|
key={conversation.id}
|
||||||
onClick={() => setSelectedConversation(conversation.id)}
|
onClick={() => setSelectedConversation(conversation.id)}
|
||||||
className={`relative flex items-start gap-3 p-4 rounded-[15px] cursor-pointer transition-colors ${
|
className="relative flex items-start gap-3 p-4 rounded-[15px] cursor-pointer transition-colors hover:bg-[#00293d]/5"
|
||||||
selectedConversation === conversation.id ? 'bg-[#00293d]/5' : 'hover:bg-[#00293d]/5'
|
|
||||||
}`}
|
|
||||||
style={{ border: '1px solid rgba(0, 41, 61, 0.1)' }}
|
style={{ border: '1px solid rgba(0, 41, 61, 0.1)' }}
|
||||||
>
|
>
|
||||||
{/* Active indicator line */}
|
{/* Active indicator line */}
|
||||||
|
|||||||
Reference in New Issue
Block a user