fix: allow select from all sidebar

This commit is contained in:
Stephen Zhou
2024-11-08 20:07:30 +08:00
parent 1f51abe3ed
commit 198bb17d83
@@ -207,7 +207,10 @@ function FeedListImpl({ className, view }: { className?: string; view: number })
}}
mask={false}
flex
viewportClassName={cn("!px-3", isDragging && "!overflow-visible")}
viewportClassName={cn(
"!px-3 [&>[data-radix-scroll-area-content]]:h-full",
isDragging && "!overflow-visible",
)}
rootClassName={cn("h-full", isDragging && "overflow-visible")}
>
<div
@@ -248,7 +251,7 @@ function FeedListImpl({ className, view }: { className?: string; view: number })
)}
<DraggableContext.Provider value={draggableContextValue}>
<div className="space-y-px" id="feeds-area" ref={setNodeRef}>
<div className="h-full space-y-px" id="feeds-area" ref={setNodeRef}>
{(hasListData || hasInboxData) && (
<div
className={cn(