[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:
Simon Lejeune
2014-09-08 19:00:52 +02:00
parent c12a2e1d16
commit 9f0834771d
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -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;
}
+2
View File
@@ -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