aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/components/DiffFileTree.vue
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 /web_src/js/components/DiffFileTree.vue
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 'web_src/js/components/DiffFileTree.vue')
-rw-r--r--web_src/js/components/DiffFileTree.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/components/DiffFileTree.vue b/web_src/js/components/DiffFileTree.vue
index 8ee86857ac..6136f7b947 100644
--- a/web_src/js/components/DiffFileTree.vue
+++ b/web_src/js/components/DiffFileTree.vue
@@ -126,7 +126,7 @@ export default {
};
</script>
<template>
- <div v-if="store.fileTreeIsVisible" class="gt-mr-3 gt-mt-3 diff-detail-box">
+ <div v-if="store.fileTreeIsVisible" class="gt-mr-3">
<!-- only render the tree if we're visible. in many cases this is something that doesn't change very often -->
<DiffFileTreeItem v-for="item in fileTree" :key="item.name" :item="item"/>
<div v-if="store.isIncomplete" class="gt-pt-2">