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:
parent
ce4536d1fa
commit
d917375e35
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue