[FIX] web: base.css: fixed width for input of file type under oe_avatar
Browsers add different width to input of file type, messing up the usability of the product formview placing a 'phantom' box in front of the options. Added a specific css rule for this case.
This commit is contained in:
@@ -2267,6 +2267,9 @@
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.openerp .oe_avatar .oe_hidden_input_file input.oe_form_binary_file {
|
||||
width: 90px;
|
||||
}
|
||||
.openerp .oe_form .oe_form_field_binary {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
@@ -1872,6 +1872,8 @@ $sheet-padding: 16px
|
||||
-ms-filter: "alpha(opacity=0)"
|
||||
margin: 0
|
||||
padding: 0
|
||||
.oe_avatar .oe_hidden_input_file input.oe_form_binary_file
|
||||
width: 90px
|
||||
.oe_form
|
||||
.oe_form_field_binary
|
||||
display: inline-block
|
||||
|
||||
Reference in New Issue
Block a user