Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions filebrowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ async function renderSidebarHTML() {

sidebarLogo.classList.add('notransition');

window.setTimeout(() => {
onNextFrame(() => {
sidebarLogo.classList.remove('notransition');
}, 180);
});


if (contents != '') {
Expand Down Expand Up @@ -390,8 +390,6 @@ async function renderSidebarHTML() {

// show title

let titleAnimation;

if (contents != '') {

// if repo is owned by logged user
Expand All @@ -410,10 +408,18 @@ async function renderSidebarHTML() {

// scroll to end of title
sidebarLogo.scrollTo({
left: sidebarLogo.scrollWidth - sidebarLogo.offsetLeft,
behavior: 'smooth'
left: sidebarLogo.scrollWidth - sidebarLogo.offsetLeft//,
//behavior: 'smooth'
});

sidebarLogo.classList.add('notransition');

onNextFrame(() => {
sidebarLogo.classList.remove('notransition');
});

scrolledSidebarTitle();

} else if (repo != '') {

// if repo is owned by logged user
Expand All @@ -433,9 +439,9 @@ async function renderSidebarHTML() {
sidebarLogo.scrollTo(0, 0);
sidebarLogo.classList.add('notransition');

window.setTimeout(() => {
onNextFrame(() => {
sidebarLogo.classList.remove('notransition');
}, 180);
});

scrolledSidebarTitle();

Expand All @@ -451,9 +457,9 @@ async function renderSidebarHTML() {
sidebarLogo.scrollTo(0, 0);
sidebarLogo.classList.add('notransition');

window.setTimeout(() => {
onNextFrame(() => {
sidebarLogo.classList.remove('notransition');
}, 180);
});

scrolledSidebarTitle();

Expand Down
3 changes: 2 additions & 1 deletion homepage/homepage.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ sup {
}

img {
border-style: none
border-style: none;
image-rendering: -webkit-optimize-contrast;
}

button,
Expand Down
Loading