Commit 4f71a78e authored by Tim Zallmann's avatar Tim Zallmann

Fixes the sliding problem with startup.css rendering

Fixes Trailing Whitespace problem
parent 6d59e61c
......@@ -156,6 +156,9 @@ function deferredInitialisation() {
});
loadAwardsHandler();
// Adding a helper class to activate animations only after all is rendered
setTimeout(() => $body.addClass('page-initialised'), 1000);
}
document.addEventListener('DOMContentLoaded', () => {
......
.content-wrapper {
width: 100%;
transition: padding $sidebar-transition-duration;
.container-fluid {
padding: 0 $gl-padding;
......@@ -13,6 +12,10 @@
}
}
.page-initialised .content-wrapper {
transition: padding $sidebar-transition-duration;
}
.nav-header-btn {
padding: 10px $gl-sidebar-padding;
color: inherit;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment