Skip to content

Commit aa6b4ec

Browse files
authored
Update filebrowser.js
1 parent c5cb8df commit aa6b4ec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

filebrowser.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@ async function renderSidebarHTML() {
142142
sidebarLogo.innerText = 'Repositories';
143143

144144
}
145+
146+
// scroll to end of title
147+
sidebarTitle.children[0].scrollTo({
148+
left: sidebarTitle.children[0].scrollWidth - sidebarTitle.children[0].offsetLeft,
149+
behavior: 'smooth'
150+
});
145151

146152

147153
// if navigating in repository

0 commit comments

Comments
 (0)