Revert "change size of submenus"

This reverts commit 49128e3c8c.
This commit is contained in:
daria 2024-03-21 11:36:27 +02:00
parent 49128e3c8c
commit 5df81b4558
2 changed files with 2 additions and 5 deletions

View File

@ -98,10 +98,6 @@
&.cp-dropdown-submenu {
left: 250px;
top: 130px;
}
&.cp-dropdown-submenu:nth-last-of-type(1){
top: 100px;
}

View File

@ -1690,7 +1690,8 @@ define([
$innerblock.css('bottom', button.height+'px');
}
} else if ($parentMenu) {
$innerblock.css('max-height', Math.floor(wh - topPos - 400)+'px');
let max = $parentMenu.css('max-height');
$innerblock.css('max-height', max);
} else {
$innerblock.css('max-height', Math.floor(wh - topPos - 1)+'px');
}