summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2014-11-13 15:02:42 +0100
committerGéry Debongnie <ged@odoo.com>2014-11-13 15:03:24 +0100
commit39c813901cfca361df21b29dd85a5d3197232d5f (patch)
tree2394a8c8584e7161082f01382f5a05ab3ccdab89 /addons/web/static/src/css
parentd3dfbe585294cdf6d0385ba3629df2353311bd4b (diff)
[FIX] fix bouncing issue in form view (web client)
the buttons edit and create have been ungrouped recently. As a side effect (of course), the bouncing effect in form view is broken. This should hopefully fix the issue without introducing any other problems :/
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css7
-rw-r--r--addons/web/static/src/css/base.sass7
2 files changed, 14 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 68eb69b3076..ae2bd2882da 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -1155,6 +1155,13 @@
.openerp .oe-view-manager-header .oe_form_buttons {
padding: 0;
}
+.openerp .oe-view-manager-header .oe_form_buttons_view > button {
+ float: left;
+}
+.openerp .oe-view-manager-header .oe_form_buttons_view > button:last-child {
+ float: right;
+ margin-left: 4px;
+}
.openerp .oe-view-manager-header .oe-pager-buttons {
min-height: 30px;
}
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 19bb17276e5..2e6e28b6dbf 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -994,6 +994,13 @@ $sheet-padding: 16px
width: 100%
.oe_form_buttons
padding: 0
+ .oe_form_buttons_view
+ > button
+ float: left
+ &:last-child
+ float: right
+ margin-left: 4px
+
.oe-pager-buttons
min-height: 30px
.oe_view_manager_inline, .oe_view_manager_inlineview