Skip to content

Commit e755b2c

Browse files
authored
Merge pull request e107inc#2602 from veskoto/master
Menu manager left col: Fix if theme have many layuts
2 parents 48a679b + cf42f33 commit e755b2c

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

e107_themes/bootstrap3/admin_style.css

+10
Original file line numberDiff line numberDiff line change
@@ -1623,6 +1623,16 @@ body#admin-menus #sc-admin-help .panel-body,
16231623
flex: 2;
16241624
}
16251625

1626+
body#admin-menus .admin-left-panel .panel {
1627+
max-height: 50%;
1628+
}
1629+
body#admin-menus .admin-left-panel .admin-menu {
1630+
overflow-y: auto;
1631+
display: flex;
1632+
display: -webkit-flex;
1633+
flex: 1 100%;
1634+
flex-flow: column nowrap;
1635+
}
16261636
body#admin-menus #sc-admin-help {
16271637
overflow-y:hidden;
16281638
}

e107_themes/bootstrap3/admin_template.php

+2
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@
281281
* see function e107::getNav()->admin() in e107_admin/header.php
282282
*/
283283
$E_ADMIN_MENU['start'] = '
284+
<div class="panel-body">
284285
<ul id="admin-ui-nav-menu" class="plugin-navigation nav nav-pills nav-stacked">
285286
';
286287

@@ -320,6 +321,7 @@
320321

321322
$E_ADMIN_MENU['end'] = '
322323
</ul>
324+
</div>
323325
';
324326

325327
$E_ADMIN_MENU['divider'] = '<li role="separator" class="divider"></li>';

0 commit comments

Comments
 (0)