diff --git a/src/pages/layout/sidebar-mini.html b/src/pages/layout/sidebar-mini.html new file mode 100644 index 000000000..e749cc731 --- /dev/null +++ b/src/pages/layout/sidebar-mini.html @@ -0,0 +1,85 @@ + + + + @@include('./_head.html', { + "path": "../..", + "title": "AdminLTE 4 | Sidebar Mini" + }) + + +
+ @@include('./dashboard/_topbar.html', { + "path": "../.." + }) + + @@include('./dashboard/_sidenav.html', { + "mainPage": "layout", + "page": "sidebar-mini", + "path": "../.." + }) + +
+
+
+
+
+

Sidebar Mini

+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+

Title

+ +
+ + +
+
+
+ Start creating your amazing application! +
+ + + +
+ +
+
+ +
+
+ +
+ + + @@include('./dashboard/_footer.html', { + "path": "../.." + }) +
+ + + @@include('./_scripts.html', { + "path": "../.." + }) + + diff --git a/src/ts/push-menu.ts b/src/ts/push-menu.ts index 1f371c0ff..216ddb4b3 100644 --- a/src/ts/push-menu.ts +++ b/src/ts/push-menu.ts @@ -155,7 +155,9 @@ class PushMenu { if (widthOutput >= Defaults.onLayouMobile) { bodyClass.remove(CLASS_NAME_LAYOUT_MOBILE) - this.expand() + if (!bodyClass.contains(CLASS_NAME_SIDEBAR_MINI)) { + this.expand() + } } }