[WEB-665] fix Padding in the project dropdown. (#3905)

This commit is contained in:
Prateek Shourya 2024-03-08 17:36:28 +05:30 committed by GitHub
parent cead56cc52
commit deb5ac0578
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -116,9 +116,14 @@ export const ProjectSidebarList: FC = observer(() => {
)}
<div
ref={containerRef}
className={cn("h-full space-y-2 overflow-y-auto px-4 vertical-scrollbar scrollbar-md", {
"border-t border-custom-sidebar-border-300": isScrolled,
})}
className={cn(
"h-full space-y-2 !overflow-y-scroll pl-4 vertical-scrollbar",
isCollapsed ? "scrollbar-sm" : "scrollbar-md",
{
"border-t border-custom-sidebar-border-300": isScrolled,
"pr-1": !isCollapsed,
}
)}
>
<DragDropContext onDragEnd={onDragEnd}>
<Droppable droppableId="favorite-projects">