More space on dropdown
This commit is contained in:
parent
99246ecfba
commit
fbdbad0d7c
3 changed files with 3 additions and 1 deletions
|
|
@ -1940,7 +1940,7 @@ if (! function_exists("llxFooter"))
|
|||
//console.log($(this).parent().parent().find(\'dd ul\'));
|
||||
$(this).parent().parent().find(\'dd ul\').slideToggle(\'fast\');
|
||||
// Note: Did not find a way to get exact height (value is update at exit) so i calculate a generic from nb of lines
|
||||
heigthofcontent = 19 * $(this).parent().parent().find(\'dd div ul li\').length;
|
||||
heigthofcontent = 21 * $(this).parent().parent().find(\'dd div ul li\').length;
|
||||
if (heigthofcontent > 300) heigthofcontent = 300; // limited by max-height on css .dropdown dd ul
|
||||
posbottom = $(this).parent().parent().find(\'dd\').offset().top + heigthofcontent + 8;
|
||||
//console.log(posbottom);
|
||||
|
|
|
|||
|
|
@ -4088,6 +4088,7 @@ dl.dropdown {
|
|||
.dropdown dd ul li {
|
||||
white-space: nowrap;
|
||||
font-weight: normal;
|
||||
padding: 2px;
|
||||
}
|
||||
.dropdown dd ul li input[type="checkbox"] {
|
||||
margin-right: 3px;
|
||||
|
|
|
|||
|
|
@ -3988,6 +3988,7 @@ dl.dropdown {
|
|||
.dropdown dd ul li {
|
||||
white-space: nowrap;
|
||||
font-weight: normal;
|
||||
padding: 2px;
|
||||
}
|
||||
.dropdown dd ul li input[type="checkbox"] {
|
||||
margin-right: 3px;
|
||||
|
|
|
|||
Loading…
Reference in a new issue