forked from forgejo/forgejo
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>
This commit is contained in:
parent
9903b8d7ec
commit
e719bf8ead
4 changed files with 12 additions and 17 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue