From e189fcd911d6ce622362416f5861dc6bfc8b18d1 Mon Sep 17 00:00:00 2001 From: Pierre Date: Thu, 25 May 2017 15:41:27 +0200 Subject: [PATCH] Fix menubar issue --- assets/css/components/menuBar.css | 15 ++++++++++++--- assets/js/common/page.js | 2 +- corePage/config/dev.config.php | 1 + 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/assets/css/components/menuBar.css b/assets/css/components/menuBar.css index 7a8549f9..8902fa35 100644 --- a/assets/css/components/menuBar.css +++ b/assets/css/components/menuBar.css @@ -4,11 +4,20 @@ * @author Pierre HUBERT */ +/** + * adminLTE fixes + */ +@media (max-width: 767px) { + .fixed .content-wrapper { + padding-top: 50px !important; + } +} + /** * Authenticated useres */ header .dropdown .fa-gear { - vertical-align: middle; + vertical-align: middle; } @@ -20,5 +29,5 @@ header .dropdown .fa-gear { * Login form */ .menubar-loginForm .form-control { - margin-right: 1px; -} + margin-right: 1px; +} \ No newline at end of file diff --git a/assets/js/common/page.js b/assets/js/common/page.js index 50287e0e..a3d831d0 100644 --- a/assets/js/common/page.js +++ b/assets/js/common/page.js @@ -174,7 +174,7 @@ ComunicWeb.common.page = { $.AdminLTE.layout.fix(); //Set body class - document.body.className="hold-transition skin-blue layout-top-nav"; + document.body.className="hold-transition fixed skin-blue layout-top-nav"; //We load the menubar ComunicWeb.components.menuBar.common.display(); diff --git a/corePage/config/dev.config.php b/corePage/config/dev.config.php index 6b80cac8..bd21bde0 100644 --- a/corePage/config/dev.config.php +++ b/corePage/config/dev.config.php @@ -33,6 +33,7 @@ $config['JSfiles'] = array( "%PATH_ASSETS%adminLTE/bootstrap/js/bootstrap.min.js", "%PATH_ASSETS%adminLTE/plugins/jquery-ui/jquery-ui.min.js", "%PATH_ASSETS%adminLTE/plugins/iCheck/icheck.min.js", + "%PATH_ASSETS%adminLTE/plugins/slimScroll/jquery.slimscroll.min.js", "%PATH_ASSETS%adminLTE/dist/js/app.min.js", //Utilities