fix(#248): increase tree-node indent from 12px to 16px for better scanability
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -27,7 +27,8 @@ function toggleCollapse() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<li role="treeitem" aria-selected={isActive} aria-expanded={hasChildren ? !isCollapsed : undefined}>
|
<li role="treeitem" aria-selected={isActive} aria-expanded={hasChildren ? !isCollapsed : undefined}>
|
||||||
<div class="flex items-center" style="padding-left: {depth * 12}px">
|
<!-- 16px per level matches standard tree-view spacing and is large enough to be scannable -->
|
||||||
|
<div class="flex items-center" style="padding-left: {depth * 16}px">
|
||||||
{#if hasChildren}
|
{#if hasChildren}
|
||||||
<button
|
<button
|
||||||
onclick={toggleCollapse}
|
onclick={toggleCollapse}
|
||||||
|
|||||||
Reference in New Issue
Block a user