style: add right padding to sidebar projects list (#3764)

This commit is contained in:
Aaryan Khandelwal 2024-02-23 19:07:32 +05:30 committed by GitHub
parent 5f6c9a4166
commit 0aaca709da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,7 @@ import useToast from "hooks/use-toast";
import { CreateProjectModal, ProjectSidebarListItem } from "components/project";
// helpers
import { copyUrlToClipboard } from "helpers/string.helper";
import { cn } from "helpers/common.helper";
// constants
import { EUserWorkspaceRoles } from "constants/workspace";
@ -109,9 +110,9 @@ export const ProjectSidebarList: FC = observer(() => {
)}
<div
ref={containerRef}
className={`h-full space-y-2 overflow-y-auto pl-4 vertical-scrollbar scrollbar-md ${
isScrolled ? "border-t border-custom-sidebar-border-300" : ""
}`}
className={cn("h-full space-y-2 overflow-y-auto px-4 vertical-scrollbar scrollbar-md", {
"border-t border-custom-sidebar-border-300": isScrolled,
})}
>
<DragDropContext onDragEnd={onDragEnd}>
<Droppable droppableId="favorite-projects">