Don't hard-code min-width on form input
The input is also used in editable tree which has the property overflow set to hidden so if the cell is not large enough the widget is partialy hidden.
This commit is contained in:
1 parent
ff2403623a
commit
7603eaa7b9
2 files changed
+5
-1
No files matched your search
@@ -58,6 +58,11 @@
|
||||
& td.form-label {
|
||||
white-space: pre;
|
||||
}
|
||||
& .form-char, .form-password, .form-integer, .form-float {
|
||||
& input {
|
||||
min-width: 8em;
|
||||
}
|
||||
}
|
||||
& td.form-one2many, td.form-many2many {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
@@ -1937,7 +1937,6 @@
|
||||
'type': 'text',
|
||||
'class': 'form-control input-sm'
|
||||
}).appendTo(this.el);
|
||||
this.input.css('min-width', '8em');
|
||||
this.el.change(this.focus_out.bind(this));
|
||||
},
|
||||
display: function(record, field) {
|
||||
|
||||
Reference in new issue
Block a user