fix(app): reduce filetree folder indent

This commit is contained in:
David Hill
2026-01-26 18:32:14 +00:00
parent 99cd7f3468
commit 2be4598011

View File

@@ -102,7 +102,7 @@ export default function FileTree(props: {
[local.class ?? ""]: !!local.class,
[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()}
onDragStart={(e: DragEvent) => {
if (!draggable()) return