mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Modified menu_calculate_top to works well with fixed menu option
This commit is contained in:
parent
2b74fbe57e
commit
d7fbc62eca
@ -746,7 +746,7 @@ function menu_calculate_top($level1, $level2, $level3 = false) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
// Positionate in the middle
|
// Positionate in the middle
|
||||||
if ($total > 12 && (($total < 18) || (($level1 - $comp) <= 2))) {
|
if ($total > 12 && (($total < 18) || (($level1 - $comp) <= 4))) {
|
||||||
return - ( floor($comp/2) * 35);
|
return - ( floor($comp/2) * 35);
|
||||||
}
|
}
|
||||||
// Positionate in the bottom
|
// Positionate in the bottom
|
||||||
|
Loading…
x
Reference in New Issue
Block a user