- {{svg "octicon-diff" 16 "mr-2"}}{{.locale.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion | Str2html}}
+
{{if and .PageIsPullFiles $.SignedUserID (not .IsArchived)}}
@@ -65,7 +67,7 @@
-
+
{{range $i, $file := .Diff.Files}}
{{/*notice: the index of Diff.Files should not be used for element ID, because the index will be restarted from 0 when doing load-more for PRs with a lot of files*/}}
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index c5d2a5f50a..5dee3fccdd 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -3099,11 +3099,11 @@ td.blob-excerpt {
@media @mediaMdAndDown {
#diff-file-tree {
- display: none;
+ display: none !important;
}
.diff-toggle-file-tree-button {
- display: none;
+ display: none !important;
}
}