mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-06 02:02:24 +02:00
Layout & spacing for nm customfield header and link widget
This commit is contained in:
parent
eb64007026
commit
a5e6dd855b
@ -1209,6 +1209,9 @@ var et2_nextmatch_customfields = et2_customfields_list.extend(et2_INextmatchHead
|
||||
init: function() {
|
||||
this.nextmatch = null;
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
// Specifically take the whole column
|
||||
this.table.css("width", "100%");
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
|
@ -117,7 +117,7 @@ var et2_link_to = et2_inputWidget.extend({
|
||||
.appendTo(this.div).addClass("status").hide();
|
||||
|
||||
// Need a div for link-to widget
|
||||
this.link_div = $j(document.createElement("div")).appendTo(this.div);
|
||||
this.link_div = $j(document.createElement("div")).css("margin-bottom", "1ex").appendTo(this.div);
|
||||
|
||||
// Link comment field
|
||||
this.comment = $j(document.createElement("input"))
|
||||
@ -380,7 +380,10 @@ var et2_link_entry = et2_inputWidget.extend({
|
||||
|
||||
// Search input
|
||||
this.search = $j(document.createElement("input")).attr("type", "search")
|
||||
.focus(function(){if(!self.options.application) {self.search.css("width", "60%");self.app_select.show();}})
|
||||
.focus(function(){if(!self.options.application) {
|
||||
// Adjust width, leave room for app select & link button
|
||||
self.search.css("width", "50%");self.app_select.show();
|
||||
}})
|
||||
.css("width", opt_count == 1 ? "100%" : "60%")
|
||||
.appendTo(this.div);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user