fix(folder): add sidebar blank-space conversation actions
This commit is contained in:
@@ -478,8 +478,9 @@ export function SidebarConversationList({
|
||||
) : (
|
||||
<ContextMenu>
|
||||
<ContextMenuTrigger asChild>
|
||||
<div className="flex-1 min-h-0">
|
||||
<ScrollArea
|
||||
className={cn("flex-1 min-h-0 px-2", "[overflow-anchor:none]")}
|
||||
className={cn("h-full min-h-0 px-2", "[overflow-anchor:none]")}
|
||||
>
|
||||
<Virtualizer ref={virtualizerRef} itemSize={CARD_HEIGHT}>
|
||||
{flatItems.map((item) => {
|
||||
@@ -533,6 +534,7 @@ export function SidebarConversationList({
|
||||
})}
|
||||
</Virtualizer>
|
||||
</ScrollArea>
|
||||
</div>
|
||||
</ContextMenuTrigger>
|
||||
<ContextMenuContent>
|
||||
<ContextMenuItem onSelect={handleNewConversation}>
|
||||
|
||||
Reference in New Issue
Block a user