forked from extern/egroupware
Fix some misalignment for link_to widget, happens in FF
This commit is contained in:
parent
0c438366d7
commit
7065f6fd2e
@ -135,6 +135,12 @@ var et2_link_to = (function(){ "use strict"; return et2_inputWidget.extend(
|
||||
// Filemanager link popup
|
||||
this.filemanager_button = $j(document.createElement("div")).css({display:'inline-block'}).appendTo(this.div);
|
||||
|
||||
// Need a div for link-to widget
|
||||
this.link_div = $j(document.createElement("div"))
|
||||
.addClass('div_link')
|
||||
// Leave room for link button
|
||||
.appendTo(this.div);
|
||||
|
||||
// One common link button
|
||||
this.link_button = $j(document.createElement("button"))
|
||||
.text(this.egw().lang(this.options.link_label))
|
||||
@ -146,12 +152,6 @@ var et2_link_to = (function(){ "use strict"; return et2_inputWidget.extend(
|
||||
this.status_span = $j(document.createElement("span"))
|
||||
.appendTo(this.div).addClass("status").hide();
|
||||
|
||||
// Need a div for link-to widget
|
||||
this.link_div = $j(document.createElement("div"))
|
||||
.addClass('div_link')
|
||||
// Leave room for link button
|
||||
.appendTo(this.div);
|
||||
|
||||
this.setDOMNode(this.div[0]);
|
||||
},
|
||||
|
||||
|
@ -730,7 +730,7 @@ div.et2_link_entry input.ui-autocomplete-input {
|
||||
border-radius: 3px;
|
||||
width: 40%;
|
||||
}
|
||||
.et2_link_to.et2_toolbar .div_link {width:85%;vertical-align: top;}
|
||||
.et2_link_to.et2_toolbar .div_link {width:80%;vertical-align: top;}
|
||||
.et2_link_to.et2_toolbar .div_link select {margin-right: 4px;}
|
||||
.et2_link_to button {
|
||||
display: inline;
|
||||
@ -740,8 +740,7 @@ div.et2_link_entry input.ui-autocomplete-input {
|
||||
background-position: 3px center;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
display: block;
|
||||
float: right;
|
||||
display: inline-block;
|
||||
}
|
||||
.et2_link_to span.status.success {
|
||||
background-image: url(images/tick.png);
|
||||
@ -799,7 +798,6 @@ div.et2_link_entry input.ui-autocomplete-input {
|
||||
vertical-align: bottom;
|
||||
padding-right: 2px;
|
||||
}
|
||||
.et2_link_to.et2_toolbar button.link {float:right;}
|
||||
|
||||
.et2_link_to.et2_toolbar span.et2_file_span { padding-right: 0;}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user