mirror of
https://github.com/go-gitea/gitea.git
synced 2025-01-20 10:54:32 +01:00
fix
This commit is contained in:
parent
0aa1b867dd
commit
7179916402
@ -73,6 +73,9 @@
|
||||
gap: 8px;
|
||||
max-height: 100vh;
|
||||
overflow: hidden;
|
||||
position: sticky;
|
||||
top: 14px;
|
||||
z-index: 8;
|
||||
}
|
||||
|
||||
.repo-grid-tree-sidebar .view-file-tree-sidebar-top {
|
||||
|
@ -2,6 +2,7 @@ import {createApp, ref} from 'vue';
|
||||
import {toggleElem} from '../utils/dom.ts';
|
||||
import {GET, PUT} from '../modules/fetch.ts';
|
||||
import ViewFileTree from '../components/ViewFileTree.vue';
|
||||
import {initMarkupContent} from '../markup/content.ts';
|
||||
import {initTargetRepoBranchTagSelector} from './repo-legacy.ts';
|
||||
import {initTargetDropdown} from './common-page.ts';
|
||||
import {initTargetRepoEllipsisButton} from './repo-commit.ts';
|
||||
@ -58,6 +59,7 @@ function reloadContentScript(contentEl: Element) {
|
||||
contentEl.querySelector('.show-tree-sidebar-button').addEventListener('click', () => {
|
||||
toggleSidebar(true, document.querySelector('.repo-view-file-tree-sidebar').hasAttribute('data-is-signed'));
|
||||
});
|
||||
initMarkupContent();
|
||||
initTargetButtons(contentEl);
|
||||
initTargetDropdown(contentEl);
|
||||
initTargetPdfViewer(contentEl);
|
||||
|
Loading…
Reference in New Issue
Block a user