[FIX] Fix button overflow in IE

bzr revid: fme@openerp.com-20120214112628-vyiu173u4iwoy2g8
This commit is contained in:
Fabien Meghazi 2012-02-14 12:26:28 +01:00
parent 0b5e9b6107
commit b6ea37974b
1 changed files with 9 additions and 3 deletions

View File

@ -1467,15 +1467,21 @@ label.error {
min-width: 100%;
width: 100%;
}
.openerp .oe_forms .button {
height: 22px;
}
@-moz-document url-prefix() {
/* Strange firefox behaviour on width: 100% + white-space: nowrap */
.openerp .oe_forms .oe_form_button .oe_button {
width: auto;
}
}
/* IE Hack - for IE < 9
* Avoids buttons overflow
* */
.openerp .oe_forms .oe_form_button .oe_button {
min-width: auto\9;
}
.openerp .oe_forms .button {
height: 22px;
}
.openerp .oe_forms .oe_button span {
position: relative;
vertical-align: top;