Skip to content
Snippets Groups Projects
Commit 9956847f authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #3749

Closes #3749

Merge request studip/studip!2604
parent 813b98c1
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,11 @@ export default {
.classList.add('contentbar-wrapper-right');
}
document.getElementById('responsive-contentbar-container').prepend(this.realContentbar);
const contentbarContainer = document.getElementById('responsive-contentbar-container');
contentbarContainer.prepend(this.realContentbar);
document.getElementById('content-wrapper').style.marginTop = `${contentbarContainer.clientHeight}px`;
} else {
this.realContentbar.id = 'contentbar';
document.getElementById('toggle-sidebar').remove();
......@@ -145,6 +149,8 @@ export default {
}
document.querySelector(this.realContentbarSource).prepend(this.realContentbar);
document.getElementById('content-wrapper').style.marginTop = 'initial';
}
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment