clear button padding 25 --> 20

This commit is contained in:
vitalets
2013-01-07 14:35:57 +04:00
parent 02a961ed85
commit 569fc40dbb
2 changed files with 3 additions and 2 deletions

@ -44,7 +44,7 @@ $(function(){
if (this.options.clear) { if (this.options.clear) {
this.$clear = $('<span class="editable-clear-x"></span>'); this.$clear = $('<span class="editable-clear-x"></span>');
this.$input.after(this.$clear) this.$input.after(this.$clear)
.css('padding-right', 25) .css('padding-right', 20)
.keyup($.proxy(this.toggleClear, this)) .keyup($.proxy(this.toggleClear, this))
.parent().css('position', 'relative'); .parent().css('position', 'relative');

@ -10,7 +10,8 @@ Textarea input
$(function(){ $(function(){
$('#comments').editable({ $('#comments').editable({
url: '/post', url: '/post',
title: 'Enter comments' title: 'Enter comments',
rows: 10
}); });
}); });
</script> </script>