Move max-width CSS Integer to apply only on form
The rule breaks the display of the widget on editable tree as it should expand to the width of the cell. issue7357 review47331002
This commit is contained in:
1 parent
33ca0361cb
commit
85d6e5239f
2 files changed
+5
-1
No files matched your search
@@ -233,6 +233,11 @@ img.icon {
|
||||
min-width: 8em;
|
||||
}
|
||||
}
|
||||
& .form-integer, .form-float {
|
||||
& input {
|
||||
max-width: 8em;
|
||||
}
|
||||
}
|
||||
& .form-url, .form-email, .form-callto, .form-sip {
|
||||
& a > img {
|
||||
width: 1em;
|
||||
|
||||
@@ -1607,7 +1607,6 @@ function eval_pyson(value){
|
||||
init: function(field_name, model, attributes) {
|
||||
Sao.View.Form.Integer._super.init.call(this, field_name, model,
|
||||
attributes);
|
||||
this.input.css('max-width', 8);
|
||||
this.input_text = this.input.clone().appendTo(this.group);
|
||||
this.input_text.attr('type', 'text');
|
||||
this.input.attr('type', 'number');
|
||||
|
||||
Reference in new issue
Block a user