* All apps: Fix styling glitches for search links dropdown

This commit is contained in:
Hadi Nategh 2016-07-26 17:05:24 +02:00
parent be08b46767
commit 09e6d56bf5
3 changed files with 5 additions and 8 deletions

View File

@ -682,7 +682,7 @@ var et2_link_entry = (function(){ "use strict"; return et2_inputWidget.extend(
// Normal stuff
li.append(jQuery( "<a></a>" ).text( item.label ))
.appendTo(ul);
window.setTimeout(function(){ul.toggleClass('ui-menu-rtl',(ul.offset().left + ul.width() > window.outerWidth))}, 300);
window.setTimeout(function(){ul.css('max-width', jQuery('.et2_container').width()-ul.offset().left)}, 300);
return li;
};

View File

@ -701,11 +701,8 @@ div.et2_link_entry select {
width: 40%;
margin-right: 10px;
}
div.et2_link_entry .ui-autocomplete.ui-menu.ui-menu-rtl {left:auto !important;right:0px;}
div.et2_link_entry .ui-autocomplete.ui-menu .ui-menu-item {border-left:5px solid transparent;}
div.et2_link_entry input.ui-autocomplete-input {
padding-bottom: 1px;
width: calc(60% - 10px);
}
.et2_link_entry.no_app input.ui-autocomplete-input {
width: 100%;

View File

@ -185,12 +185,12 @@
<menupopup statustext="Type of the log-entry: Note, Phonecall or ToDo" id="info_type" no_lang="1" onchange="widget.getInstanceManager().submit(null,false,true); return false;" />
</menulist>
<description/>
<description value="Contact"/>
<link-entry id="info_contact"/>
<description value="Startdate" for="info_startdate"/>
<date-time statustext="when should the ToDo or Phonecall be started, it shows up from that date in the filter open or own open (startpage)" id="info_startdate" class="et2_fullWidth"/>
</row>
<row class="dialogHeader3">
<description value="Startdate" for="info_startdate"/>
<date-time statustext="when should the ToDo or Phonecall be started, it shows up from that date in the filter open or own open (startpage)" id="info_startdate" class="et2_fullWidth"/>
<description value="Contact"/>
<link-entry id="info_contact"/>
<description/>
<description value="Enddate" for="info_enddate"/>
<date-time statustext="til when should the ToDo or Phonecall be finished" id="info_enddate" class="et2_fullWidth" span="4"/>