From 48c4a7e75cf2717f00c9691ca26688aa4db0a17a Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Sat, 19 Aug 2023 03:55:56 +0800 Subject: [PATCH] Rewrite the DiffFileTreeItem and fix misalignment (#26565) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix some layout / user-interaction problems and close #25650 , the code has been simplified (+46 −108)
![image](https://github.com/go-gitea/gitea/assets/2114189/55c38812-3338-4048-9137-0cae0ef213e8)
--------- Co-authored-by: delvh --- web_src/js/components/DiffFileTree.vue | 4 +- web_src/js/components/DiffFileTreeItem.vue | 164 +++++++-------------- 2 files changed, 53 insertions(+), 115 deletions(-) diff --git a/web_src/js/components/DiffFileTree.vue b/web_src/js/components/DiffFileTree.vue index c4d1c614d..e02222bde 100644 --- a/web_src/js/components/DiffFileTree.vue +++ b/web_src/js/components/DiffFileTree.vue @@ -1,9 +1,7 @@