File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 7373 gap : 8px ;
7474 max-height : 100vh ;
7575 overflow : hidden;
76+ position : sticky;
77+ top : 14px ;
78+ z-index : 8 ;
7679}
7780
7881.repo-grid-tree-sidebar .view-file-tree-sidebar-top {
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import {createApp, ref} from 'vue';
22import { toggleElem } from '../utils/dom.ts' ;
33import { GET , PUT } from '../modules/fetch.ts' ;
44import ViewFileTree from '../components/ViewFileTree.vue' ;
5+ import { initMarkupContent } from '../markup/content.ts' ;
56import { initTargetRepoBranchTagSelector } from './repo-legacy.ts' ;
67import { initTargetDropdown } from './common-page.ts' ;
78import { initTargetRepoEllipsisButton } from './repo-commit.ts' ;
@@ -58,6 +59,7 @@ function reloadContentScript(contentEl: Element) {
5859 contentEl . querySelector ( '.show-tree-sidebar-button' ) . addEventListener ( 'click' , ( ) => {
5960 toggleSidebar ( true , document . querySelector ( '.repo-view-file-tree-sidebar' ) . hasAttribute ( 'data-is-signed' ) ) ;
6061 } ) ;
62+ initMarkupContent ( ) ;
6163 initTargetButtons ( contentEl ) ;
6264 initTargetDropdown ( contentEl ) ;
6365 initTargetPdfViewer ( contentEl ) ;
You can’t perform that action at this time.
0 commit comments