mirror of https://github.com/ColorlibHQ/AdminLTE
🐛 fix for minor issue
parent
a1858840f6
commit
e0265b0e91
|
@ -106,7 +106,7 @@
|
||||||
<!-- Main row -->
|
<!-- Main row -->
|
||||||
<section class="row">
|
<section class="row">
|
||||||
<!-- Start col -->
|
<!-- Start col -->
|
||||||
<section class="col-lg-7">
|
<div class="col-lg-7">
|
||||||
<!-- Custom tabs (Charts with tabs)-->
|
<!-- Custom tabs (Charts with tabs)-->
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
|
@ -341,7 +341,7 @@
|
||||||
<!-- /.card-footer-->
|
<!-- /.card-footer-->
|
||||||
</div>
|
</div>
|
||||||
<!--/.direct-chat -->
|
<!--/.direct-chat -->
|
||||||
</section>
|
</div>
|
||||||
<!-- /.Start col -->
|
<!-- /.Start col -->
|
||||||
</section>
|
</section>
|
||||||
<!-- /.row (main row) -->
|
<!-- /.row (main row) -->
|
||||||
|
|
|
@ -151,7 +151,8 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<!-- TODO tackel in v4.1 -->
|
||||||
|
<!-- <li class="nav-item">
|
||||||
<a class="nav-link" data-widget="fullscreen" href="#" role="button">
|
<a class="nav-link" data-widget="fullscreen" href="#" role="button">
|
||||||
<i class="fas fa-expand-arrows-alt"></i>
|
<i class="fas fa-expand-arrows-alt"></i>
|
||||||
</a>
|
</a>
|
||||||
|
@ -160,7 +161,7 @@
|
||||||
<a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button">
|
<a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button">
|
||||||
<i class="fas fa-th-large"></i>
|
<i class="fas fa-th-large"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li> -->
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"main-sidebar main-header"
|
"main-sidebar main-header"
|
||||||
"main-sidebar content-wrapper"
|
"main-sidebar content-wrapper"
|
||||||
"main-sidebar main-footer";
|
"main-sidebar main-footer";
|
||||||
grid-template-columns: auto 1fr;
|
grid-template-columns: auto minmax(100%, max-content);
|
||||||
grid-template-rows: auto 1fr auto;
|
grid-template-rows: min-content 100% min-content;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
|
@ -130,11 +130,15 @@ class PushMenu {
|
||||||
|
|
||||||
addSidebaBreakPoint(): void {
|
addSidebaBreakPoint(): void {
|
||||||
const bodyClass = document.body.classList
|
const bodyClass = document.body.classList
|
||||||
const widthOutput: number = window.innerWidth
|
const widthOutput = window.innerWidth
|
||||||
|
|
||||||
|
if (widthOutput < Defaults.onLayouMobile) {
|
||||||
|
bodyClass.add(CLASS_NAME_LAYOUT_MOBILE)
|
||||||
|
}
|
||||||
|
|
||||||
if (widthOutput >= Defaults.onLayouMobile) {
|
if (widthOutput >= Defaults.onLayouMobile) {
|
||||||
bodyClass.remove(CLASS_NAME_LAYOUT_MOBILE)
|
bodyClass.remove(CLASS_NAME_LAYOUT_MOBILE)
|
||||||
} else {
|
this.expand()
|
||||||
bodyClass.add(CLASS_NAME_LAYOUT_MOBILE)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue