mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-21 14:34:43 +02:00
fix
This commit is contained in:
parent
9b95582f5d
commit
0cafe2a39d
@ -60,7 +60,7 @@
|
|||||||
min-width: 0;
|
min-width: 0;
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
grid-row: 1 / 4;
|
grid-row: 1 / 4;
|
||||||
margin-left: var(--page-margin-x);
|
margin-left: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#view-file-tree.is-loading {
|
#view-file-tree.is-loading {
|
||||||
|
@ -5,6 +5,7 @@ import ViewFileTree from '../components/ViewFileTree.vue';
|
|||||||
import RepoBranchTagSelector from '../components/RepoBranchTagSelector.vue';
|
import RepoBranchTagSelector from '../components/RepoBranchTagSelector.vue';
|
||||||
import {initGlobalDropdown} from './common-page.ts';
|
import {initGlobalDropdown} from './common-page.ts';
|
||||||
import {initRepoEllipsisButton} from './repo-commit.ts';
|
import {initRepoEllipsisButton} from './repo-commit.ts';
|
||||||
|
import {initPdfViewer} from '../render/pdf.ts';
|
||||||
|
|
||||||
async function toggleSidebar(visibility, isSigned) {
|
async function toggleSidebar(visibility, isSigned) {
|
||||||
const sidebarEl = document.querySelector('.repo-view-file-tree-sidebar');
|
const sidebarEl = document.querySelector('.repo-view-file-tree-sidebar');
|
||||||
@ -60,6 +61,7 @@ function reloadContentScript() {
|
|||||||
}
|
}
|
||||||
initGlobalDropdown();
|
initGlobalDropdown();
|
||||||
initRepoEllipsisButton();
|
initRepoEllipsisButton();
|
||||||
|
initPdfViewer();
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function initViewFileTreeSidebar() {
|
export async function initViewFileTreeSidebar() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user