forked from farhoodlabs/paperclip
Fix invisible keyboard selection highlight in inbox
Replace ring-2 outline (clipped by overflow-hidden container) with bg-accent background color for the selected item. Visible in both light and dark modes. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -1197,7 +1197,7 @@ export function Inbox() {
|
||||
<div
|
||||
key={`sel-${key}`}
|
||||
data-inbox-item
|
||||
className={isSelected ? "ring-2 ring-inset ring-primary/40 rounded-sm" : ""}
|
||||
className={isSelected ? "bg-accent" : ""}
|
||||
onClick={() => setSelectedIndex(index)}
|
||||
>
|
||||
{child}
|
||||
|
||||
Reference in New Issue
Block a user