fix line -heaigh and and clear button position, fix #133
This commit is contained in:
parent
ed7ace61f8
commit
41fd0929bd
src
@ -5,6 +5,7 @@
|
||||
.editableform .control-group {
|
||||
margin-bottom: 0; /* overwrites bootstrap margin */
|
||||
white-space: nowrap; /* prevent wrapping buttons on new line */
|
||||
line-height: 20px; /* overwriting bootstrap line-height. See #133 */
|
||||
}
|
||||
|
||||
.editable-buttons {
|
||||
@ -106,6 +107,7 @@
|
||||
position: absolute;
|
||||
opacity: 0.6;
|
||||
z-index: 100;
|
||||
|
||||
}
|
||||
|
||||
.editable-clear-x:hover {
|
||||
|
@ -55,7 +55,7 @@ $(function(){
|
||||
var that = this;
|
||||
this.t = setTimeout(function() {
|
||||
that.toggleClear(e);
|
||||
}, 200);
|
||||
}, 100);
|
||||
|
||||
}, this))
|
||||
.parent().css('position', 'relative');
|
||||
@ -75,7 +75,7 @@ $(function(){
|
||||
delta = 3;
|
||||
}
|
||||
|
||||
this.$clear.css({top: delta, right: delta});
|
||||
this.$clear.css({bottom: delta, right: delta});
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user