diff --git a/web_src/js/components/DiffFileTree.vue b/web_src/js/components/DiffFileTree.vue index 6136f7b9475..3686629df89 100644 --- a/web_src/js/components/DiffFileTree.vue +++ b/web_src/js/components/DiffFileTree.vue @@ -126,7 +126,7 @@ export default { }; + diff --git a/web_src/js/components/DiffFileTreeItem.vue b/web_src/js/components/DiffFileTreeItem.vue index 553ab1464f5..22c23f3ca0c 100644 --- a/web_src/js/components/DiffFileTreeItem.vue +++ b/web_src/js/components/DiffFileTreeItem.vue @@ -58,11 +58,14 @@ a, a:hover { } .sub-items { - padding-left: 9px; + display: flex; + flex-direction: column; + gap: 1px; + padding-left: 8px; } -.item-file { - margin-left: 20px; +.sub-items .item-file { + padding-left: 24px; } .item-file.selected { @@ -80,7 +83,7 @@ a, a:hover { display: flex; align-items: center; gap: 0.25em; - padding: 2px; + padding: 3px 6px; } .item-file:hover,