Fix toolbar menulist height calculation

This commit is contained in:
Hadi Nategh 2016-05-27 16:32:56 +02:00
parent 55030eb5f2
commit 179d121efa
7 changed files with 13 additions and 7 deletions

View File

@ -439,6 +439,14 @@ var et2_toolbar = (function(){ "use strict"; return et2_DOMWidget.extend([et2_II
},
beforeActivate: function ()
{
if (egwIsMobile())
{
menulist.height(screen.availHeight - 50);
}
else
{
menulist.css({height:'inherit'})
}
// Nothing to show in menulist
if (menulist.children().length == 0) return false;
}

View File

@ -2066,7 +2066,7 @@ div.ui-dialog div.ui-dialog-content > div[id] {
}
div.ui-toolbar-menulist{
position: absolute;
height: inherit !important;
height: inherit;
z-index: 999 !important;
overflow: hidden !important;
border: solid black 1px;

View File

@ -924,7 +924,7 @@
}
div.ui-toolbar-menulist {
position: absolute;
height: inherit !important;
height: inherit;
z-index: 999 !important;
overflow: hidden !important;
border: solid black 1px;

View File

@ -913,7 +913,7 @@
}
div.ui-toolbar-menulist {
position: absolute;
height: inherit !important;
height: inherit;
z-index: 999 !important;
overflow: hidden !important;
border: solid black 1px;

View File

@ -901,7 +901,7 @@ textarea.description {
div.ui-toolbar-menulist{
position: absolute;
height: inherit !important;
height: inherit;
z-index: 999 !important;
overflow: hidden !important;
border: solid black 1px;

View File

@ -935,7 +935,7 @@
}
div.ui-toolbar-menulist {
position: absolute;
height: inherit !important;
height: inherit;
z-index: 999 !important;
overflow: hidden !important;
border: solid black 1px;
@ -7870,7 +7870,6 @@ form[id^="tracker-"] .dialogHeadbar {
body div.et2_toolbar.et2_head_toolbar div.ui-toolbar-menulist {
width: 100%;
left: 0px;
height: 322px !important;
overflow-y: auto !important;
box-shadow: 2px 3px 13px #666666;
-moz-box-shadow: 2px 3px 13px #666666;

View File

@ -1012,7 +1012,6 @@
{
width: 100%;
left:0px;
height: 322px !important;
overflow-y: auto !important;
box-shadow: 2px 3px 13px #666666;
-moz-box-shadow: 2px 3px 13px #666666;