mirror of https://github.com/xwiki-labs/cryptpad
change size of submenus
This commit is contained in:
parent
3c5ca5d561
commit
49128e3c8c
|
@ -98,6 +98,10 @@
|
|||
|
||||
&.cp-dropdown-submenu {
|
||||
left: 250px;
|
||||
top: 130px;
|
||||
}
|
||||
|
||||
&.cp-dropdown-submenu:nth-last-of-type(1){
|
||||
top: 100px;
|
||||
}
|
||||
|
||||
|
|
|
@ -1690,8 +1690,7 @@ define([
|
|||
$innerblock.css('bottom', button.height+'px');
|
||||
}
|
||||
} else if ($parentMenu) {
|
||||
let max = $parentMenu.css('max-height');
|
||||
$innerblock.css('max-height', max);
|
||||
$innerblock.css('max-height', Math.floor(wh - topPos - 400)+'px');
|
||||
} else {
|
||||
$innerblock.css('max-height', Math.floor(wh - topPos - 1)+'px');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue