diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-09-28 18:00:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 10:00:26 +0000 |
commit | 1f00bc44b276cd3fcb1e880e9b1de90c9bb89e83 (patch) | |
tree | 7b52a2a9cbd694b1ca72494bb979767ed66bdda7 /templates/repo/diff | |
parent | 72c68177ab78d026d25a0a440c35cdbc9723cd98 (diff) | |
download | gitea-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.



Diffstat (limited to 'templates/repo/diff')
-rw-r--r-- | templates/repo/diff/box.tmpl | 2 |
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"}}"> |