summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-09-28 21:27:13 +0800
committerGitHub <noreply@github.com>2023-09-28 13:27:13 +0000
commite719bf8ead149c913b59279fb70688ad8f8d2573 (patch)
tree0b9219c38467b92e3320106920fa2fba64d38452 /templates/repo
parent9903b8d7ec84b35e05d7056fcb4590c7069a54dc (diff)
downloadgitea-e719bf8ead149c913b59279fb70688ad8f8d2573.tar.gz
gitea-e719bf8ead149c913b59279fb70688ad8f8d2573.zip
Fix review UI (#27322) (#27331)
Backport #27322 by @wxiaoguang Close #26730 1. The `diff-detail-box` was abused, it shouldn't be used for "DiffFileList/DiffFileTree". 2. Fix the sticky position for various screens. ![image](https://github.com/go-gitea/gitea/assets/2114189/558a5c06-c94c-4e5c-8395-d38473dd21c2) ![image](https://github.com/go-gitea/gitea/assets/2114189/3390fb0e-7dc7-457f-bd0c-398fdb6d24c0) ![image](https://github.com/go-gitea/gitea/assets/2114189/d19dd350-aecf-4909-8ef9-73b09d94560e) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/diff/box.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl
index 15766363e7..94a5a9a295 100644
--- a/templates/repo/diff/box.tmpl
+++ b/templates/repo/diff/box.tmpl
@@ -1,5 +1,5 @@
<div>
- <div class="diff-detail-box diff-box sticky gt-df gt-sb gt-ac">
+ <div class="diff-detail-box diff-box">
<div class="gt-df gt-ac gt-fw">
{{if not .DiffNotAvailable}}
<button class="diff-toggle-file-tree-button gt-df gt-ac not-mobile" data-show-text="{{ctx.Locale.Tr "repo.diff.show_file_tree"}}" data-hide-text="{{ctx.Locale.Tr "repo.diff.hide_file_tree"}}">