summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-09-28 18:00:26 +0800
committerGitHub <noreply@github.com>2023-09-28 10:00:26 +0000
commit1f00bc44b276cd3fcb1e880e9b1de90c9bb89e83 (patch)
tree7b52a2a9cbd694b1ca72494bb979767ed66bdda7 /templates/repo/diff
parent72c68177ab78d026d25a0a440c35cdbc9723cd98 (diff)
downloadgitea-1f00bc44b276cd3fcb1e880e9b1de90c9bb89e83.tar.gz
gitea-1f00bc44b276cd3fcb1e880e9b1de90c9bb89e83.zip
Fix review UI (#27322)
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)
Diffstat (limited to 'templates/repo/diff')
-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"}}">