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