style: add right padding to sidebar projects list (#3764)
This commit is contained in:
parent
5f6c9a4166
commit
0aaca709da
1 changed files with 4 additions and 3 deletions
|
|
@ -11,6 +11,7 @@ import useToast from "hooks/use-toast";
|
||||||
import { CreateProjectModal, ProjectSidebarListItem } from "components/project";
|
import { CreateProjectModal, ProjectSidebarListItem } from "components/project";
|
||||||
// helpers
|
// helpers
|
||||||
import { copyUrlToClipboard } from "helpers/string.helper";
|
import { copyUrlToClipboard } from "helpers/string.helper";
|
||||||
|
import { cn } from "helpers/common.helper";
|
||||||
// constants
|
// constants
|
||||||
import { EUserWorkspaceRoles } from "constants/workspace";
|
import { EUserWorkspaceRoles } from "constants/workspace";
|
||||||
|
|
||||||
|
|
@ -109,9 +110,9 @@ export const ProjectSidebarList: FC = observer(() => {
|
||||||
)}
|
)}
|
||||||
<div
|
<div
|
||||||
ref={containerRef}
|
ref={containerRef}
|
||||||
className={`h-full space-y-2 overflow-y-auto pl-4 vertical-scrollbar scrollbar-md ${
|
className={cn("h-full space-y-2 overflow-y-auto px-4 vertical-scrollbar scrollbar-md", {
|
||||||
isScrolled ? "border-t border-custom-sidebar-border-300" : ""
|
"border-t border-custom-sidebar-border-300": isScrolled,
|
||||||
}`}
|
})}
|
||||||
>
|
>
|
||||||
<DragDropContext onDragEnd={onDragEnd}>
|
<DragDropContext onDragEnd={onDragEnd}>
|
||||||
<Droppable droppableId="favorite-projects">
|
<Droppable droppableId="favorite-projects">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue