Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

UI polish: the open Inbox row marks itself on its icon, not with a selection fill

aivsomkar3539e2bfdc70
diff --git a/src/components/SidebarInboxRow.tsx b/src/components/SidebarInboxRow.tsx
index fcd78c27f2..16b6e308fd 100644
--- a/src/components/SidebarInboxRow.tsx
+++ b/src/components/SidebarInboxRow.tsx
@@ -40,8 +40,8 @@ export function SidebarInboxRow({ icons, large, running, onOpened }: {
return (
<div className="px-3 pb-1">
<button type="button" data-sidebar-inbox={count} aria-label={label} title={label} aria-pressed={open} onClick={toggle}
- className={cn("flex w-full min-w-0 items-center gap-2.5 rounded-lg px-2 py-1.5 text-left outline-none hover:bg-raised/60 focus-visible:ring-2 focus-visible:ring-accent/60", open && "bg-ink/[0.05]")}>
- <span className={cn("relative grid shrink-0 place-items-center rounded-full bg-raised text-ink-secondary", large ? "size-9" : "size-8")}>
+ className={cn("flex w-full min-w-0 items-center gap-2.5 rounded-lg px-2 py-1.5 text-left outline-none hover:bg-raised/60 focus-visible:ring-2 focus-visible:ring-accent/60")}>
+ <span className={cn("relative grid shrink-0 place-items-center rounded-full", open ? "bg-ink/[0.16] text-ink" : "bg-raised text-ink-secondary", large ? "size-9" : "size-8")}>
<Inbox size={large ? 18 : 16} strokeWidth={1.75} aria-hidden="true" />
{dot}
</span>