Browse Source

fix layout-boxed with default sidebar

REJack 4 years ago
parent
commit
fbe0340eb0

+ 14 - 0
build/scss/_main-sidebar.scss

@@ -926,3 +926,17 @@
 .sidebar nav .form-inline {
 .sidebar nav .form-inline {
   margin-bottom: .2rem;
   margin-bottom: .2rem;
 }
 }
+
+// Sidebar Collapse on Layout Boxed
+
+.layout-boxed {
+  &.sidebar-collapse .main-sidebar {
+    margin-left: 0;
+  }
+  .content-wrapper, 
+  .main-header,
+  .main-footer {
+    z-index: 9999;
+    position: relative;
+  }
+}

+ 11 - 0
dist/css/adminlte.css

@@ -12798,6 +12798,17 @@ body.sidebar-collapse:not(.sidebar-mini-md):not(.sidebar-mini) .main-header::bef
   margin-bottom: .2rem;
   margin-bottom: .2rem;
 }
 }
 
 
+.layout-boxed.sidebar-collapse .main-sidebar {
+  margin-left: 0;
+}
+
+.layout-boxed .content-wrapper,
+.layout-boxed .main-header,
+.layout-boxed .main-footer {
+  z-index: 9999;
+  position: relative;
+}
+
 .logo-xs,
 .logo-xs,
 .logo-xl {
 .logo-xl {
   opacity: 1;
   opacity: 1;

File diff suppressed because it is too large
+ 1 - 1
dist/css/adminlte.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/css/adminlte.min.css


File diff suppressed because it is too large
+ 0 - 0
dist/css/adminlte.min.css.map


Some files were not shown because too many files changed in this diff