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