diff --git a/web_src/js/components/DiffFileTreeItem.vue b/web_src/js/components/DiffFileTreeItem.vue
index 84431ff372..12cafd8f1b 100644
--- a/web_src/js/components/DiffFileTreeItem.vue
+++ b/web_src/js/components/DiffFileTreeItem.vue
@@ -51,7 +51,7 @@ function getIconForDiffType(pType) {
-
+
{{ item.name }}
@@ -87,12 +87,16 @@ a, a:hover {
color: var(--color-text-light-3);
}
+.item-directory {
+ user-select: none;
+}
+
.item-file,
.item-directory {
display: flex;
align-items: center;
gap: 0.25em;
- padding: 3px 6px;
+ padding: 6px;
}
.item-file:hover,
diff --git a/web_src/js/svg.ts b/web_src/js/svg.ts
index cbb1af4ba1..3a0f2ed53c 100644
--- a/web_src/js/svg.ts
+++ b/web_src/js/svg.ts
@@ -27,6 +27,7 @@ import octiconDownload from '../../public/assets/img/svg/octicon-download.svg';
import octiconEye from '../../public/assets/img/svg/octicon-eye.svg';
import octiconFile from '../../public/assets/img/svg/octicon-file.svg';
import octiconFileDirectoryFill from '../../public/assets/img/svg/octicon-file-directory-fill.svg';
+import octiconFileDirectoryOpenFill from '../../public/assets/img/svg/octicon-file-directory-open-fill.svg';
import octiconFilter from '../../public/assets/img/svg/octicon-filter.svg';
import octiconGear from '../../public/assets/img/svg/octicon-gear.svg';
import octiconGitBranch from '../../public/assets/img/svg/octicon-git-branch.svg';
@@ -101,6 +102,7 @@ const svgs = {
'octicon-eye': octiconEye,
'octicon-file': octiconFile,
'octicon-file-directory-fill': octiconFileDirectoryFill,
+ 'octicon-file-directory-open-fill': octiconFileDirectoryOpenFill,
'octicon-filter': octiconFilter,
'octicon-gear': octiconGear,
'octicon-git-branch': octiconGitBranch,