pull/32721/head
Kerwin Bryant 2 weeks ago
parent 0aa1b867dd
commit 7179916402
  1. 3
      web_src/css/repo/home.css
  2. 2
      web_src/js/features/repo-view-file-tree-sidebar.ts

@ -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…
Cancel
Save