Improve scroll anchor (#275)

This commit is contained in:
Jeremy 2024-03-20 04:37:08 +03:00 committed by GitHub
parent b6cab643ef
commit 43c7cbb21e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 169 additions and 101 deletions

View file

@ -60,12 +60,12 @@ export function SidebarItem({ index, chat, children }: SidebarItemProps) {
tabIndex={-1}
className="focus:bg-muted focus:ring-1 focus:ring-ring"
>
<IconUsers className="mr-2" />
<IconUsers className="mr-2 mt-1 text-zinc-500" />
</TooltipTrigger>
<TooltipContent>This is a shared chat.</TooltipContent>
</Tooltip>
) : (
<IconMessage className="mr-2" />
<IconMessage className="mr-2 mt-1 text-zinc-500" />
)}
</div>
<Link