mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
parent
49128e3c8c
commit
5df81b4558
@ -98,10 +98,6 @@
|
||||
|
||||
&.cp-dropdown-submenu {
|
||||
left: 250px;
|
||||
top: 130px;
|
||||
}
|
||||
|
||||
&.cp-dropdown-submenu:nth-last-of-type(1){
|
||||
top: 100px;
|
||||
}
|
||||
|
||||
|
||||
@ -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');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user