summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-02-14 12:26:28 +0100
committerFabien Meghazi <fme@openerp.com>2012-02-14 12:26:28 +0100
commitb6ea37974b853288216bcdc94a360a7434608c17 (patch)
tree42d783fb361ca2e22eea2ba990cea10bfa512ef0 /addons/web/static/src/css
parent0b5e9b6107c27c7228f717fd6b0fad890d49113f (diff)
[FIX] Fix button overflow in IE
bzr revid: fme@openerp.com-20120214112628-vyiu173u4iwoy2g8
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css12
1 files changed, 9 insertions, 3 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index cc30213a8b8..91053683676 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -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;