Revert "fix: allow select from all sidebar"

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