diff --git a/apps/web/src/components/sub-notebook/index.tsx b/apps/web/src/components/sub-notebook/index.tsx index a5f506133..bb051b0b4 100644 --- a/apps/web/src/components/sub-notebook/index.tsx +++ b/apps/web/src/components/sub-notebook/index.tsx @@ -129,7 +129,8 @@ function SubNotebook(props: SubNotebookProps) { menuItems={subNotebookMenuItems} context={{ refresh }} sx={{ - paddingLeft: depth === 0 ? 0 : `${16 * depth}px` + paddingLeft: + depth === 0 ? (isExpandable ? 0 : "5px") : `${16 * depth - 5}px` }} /> );