mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
folded navbar responsive
This commit is contained in:
@@ -135,6 +135,7 @@ class TablerDemo {
|
||||
};
|
||||
|
||||
toggleSidebarColor(color) {
|
||||
console.log('color', color);
|
||||
return this.setConfig('sidebarColor', color, ['dark', 'light'], () => {
|
||||
if (color === 'dark') {
|
||||
document.querySelector('.js-sidebar').classList.add('navbar-dark');
|
||||
|
||||
Reference in New Issue
Block a user