diff options
author | Giteabot <teabot@gitea.io> | 2023-09-28 21:27:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 13:27:13 +0000 |
commit | e719bf8ead149c913b59279fb70688ad8f8d2573 (patch) | |
tree | 0b9219c38467b92e3320106920fa2fba64d38452 /templates/repo | |
parent | 9903b8d7ec84b35e05d7056fcb4590c7069a54dc (diff) | |
download | gitea-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.



Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/repo')
-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"}}"> |