NEW Top menu is always on screen with MD theme.
This commit is contained in:
parent
05326e271d
commit
66cb06eca9
@ -1205,6 +1205,13 @@ td.showDragHandle {
|
|||||||
.side-nav-vert {
|
.side-nav-vert {
|
||||||
margin-left: 228px;
|
margin-left: 228px;
|
||||||
}
|
}
|
||||||
|
<?php if (empty($conf->global->THEME_DISABLE_STICKY_TOPMENU)) { ?>
|
||||||
|
.side-nav-vert {
|
||||||
|
position: sticky;
|
||||||
|
top: 0px;
|
||||||
|
z-index: 210;
|
||||||
|
}
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
/* For smartphone (testmenuhider is on) */
|
/* For smartphone (testmenuhider is on) */
|
||||||
<?php if (in_array($conf->browser->layout, array('phone','tablet')) && ((GETPOST('testmenuhider') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))) { ?>
|
<?php if (in_array($conf->browser->layout, array('phone','tablet')) && ((GETPOST('testmenuhider') || ! empty($conf->global->MAIN_TESTMENUHIDER)) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER))) { ?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user