Make sidebar collapse centered and overlapping
Fix some styling stuff that was being done via JavaScript that can be done via selectors.
This commit is contained in:
parent
4a99cb1166
commit
aa3e22d814
2 changed files with 25 additions and 3 deletions
|
|
@ -28,8 +28,6 @@
|
|||
document.getElementById('sidebarToggle').addEventListener('click', function() {
|
||||
document.getElementById('sidebar').classList.toggle('collapsed');
|
||||
document.getElementById('content').classList.toggle('expanded');
|
||||
document.getElementById('sidebarToggleIcon').classList.toggle('bi-chevron-left');
|
||||
document.getElementById('sidebarToggleIcon').classList.toggle('bi-chevron-right');
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue