From cf42f3347fe4d73b4170f157a59e20753841fceb Mon Sep 17 00:00:00 2001 From: veskoto Date: Wed, 26 Apr 2017 11:21:59 +0300 Subject: [PATCH] Menu manager left col: Fix if theme have many layuts --- e107_themes/bootstrap3/admin_style.css | 10 ++++++++++ e107_themes/bootstrap3/admin_template.php | 2 ++ 2 files changed, 12 insertions(+) diff --git a/e107_themes/bootstrap3/admin_style.css b/e107_themes/bootstrap3/admin_style.css index 71f42b939..e00600655 100644 --- a/e107_themes/bootstrap3/admin_style.css +++ b/e107_themes/bootstrap3/admin_style.css @@ -1623,6 +1623,16 @@ body#admin-menus #sc-admin-help .panel-body, flex: 2; } +body#admin-menus .admin-left-panel .panel { + max-height: 50%; +} +body#admin-menus .admin-left-panel .admin-menu { + overflow-y: auto; + display: flex; + display: -webkit-flex; + flex: 1 100%; + flex-flow: column nowrap; +} body#admin-menus #sc-admin-help { overflow-y:hidden; } diff --git a/e107_themes/bootstrap3/admin_template.php b/e107_themes/bootstrap3/admin_template.php index d409a6082..c5df8aa8b 100644 --- a/e107_themes/bootstrap3/admin_template.php +++ b/e107_themes/bootstrap3/admin_template.php @@ -281,6 +281,7 @@ $ADMIN_FOOTER = ' * see function e107::getNav()->admin() in e107_admin/header.php */ $E_ADMIN_MENU['start'] = ' +
+
'; $E_ADMIN_MENU['divider'] = '';