From 62a9254b1c4d854a80a648c9f4575940dc400d24 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Fri, 28 Feb 2025 19:39:58 +0800 Subject: [PATCH] fix --- templates/repo/diff/box.tmpl | 6 +- .../repo/issue/view_content/add_reaction.tmpl | 2 +- .../repo/issue/view_content/conversation.tmpl | 2 +- .../repo/issue/view_content/reactions.tmpl | 6 +- templates/shared/search/code/results.tmpl | 2 +- web_src/css/repo.css | 4 - web_src/js/features/common-page.ts | 79 ++++++++-------- web_src/js/features/comp/ReactionSelector.ts | 48 +++++----- web_src/js/features/repo-diff.ts | 15 ++-- web_src/js/features/repo-graph.ts | 5 +- web_src/js/index.ts | 4 +- web_src/js/modules/dirauto.ts | 44 --------- web_src/js/modules/observer.ts | 89 +++++++++++++++++++ 13 files changed, 171 insertions(+), 135 deletions(-) delete mode 100644 web_src/js/modules/dirauto.ts create mode 100644 web_src/js/modules/observer.ts diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 8de54b932a45b..1a0a5c04a81fc 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -1,6 +1,6 @@ {{$showFileTree := (and (not .DiffNotAvailable) (gt .Diff.NumFiles 1))}}
-
+
{{if $showFileTree}}