mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
web: fix empty root notebook indentation
This commit is contained in:
@@ -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`
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user