fix(app): reduce filetree folder indent
This commit is contained in:
parent
99cd7f3468
commit
2be4598011
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ export default function FileTree(props: {
|
||||||
[local.class ?? ""]: !!local.class,
|
[local.class ?? ""]: !!local.class,
|
||||||
[props.nodeClass ?? ""]: !!props.nodeClass,
|
[props.nodeClass ?? ""]: !!props.nodeClass,
|
||||||
}}
|
}}
|
||||||
style={`padding-left: ${Math.max(0, 8 + level * 12 - (local.node.type === "file" ? 24 : 0))}px`}
|
style={`padding-left: ${Math.max(0, 8 + level * 12 - (local.node.type === "file" ? 24 : 4))}px`}
|
||||||
draggable={draggable()}
|
draggable={draggable()}
|
||||||
onDragStart={(e: DragEvent) => {
|
onDragStart={(e: DragEvent) => {
|
||||||
if (!draggable()) return
|
if (!draggable()) return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue