summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/form_view_extra.less
diff options
context:
space:
mode:
authorHardik Patel <hat@odoo.com>2017-09-08 14:07:50 +0530
committerAaron Bohy <aab@odoo.com>2017-09-19 10:14:24 +0200
commitc3a48da767b333d21ceff2cb829ffba102d6ff3d (patch)
treeecbff2630c548356bbfdac9f78c812da5ee3758b /addons/web/static/src/less/form_view_extra.less
parentde48daf53adc922da6b2ff4ef794e37b0b7cd835 (diff)
[FIX] web: FormView button box: position of More dropdown
Before this rev., the dropdown was positioned in the bottom left corner of the form view.
Diffstat (limited to 'addons/web/static/src/less/form_view_extra.less')
-rw-r--r--addons/web/static/src/less/form_view_extra.less12
1 files changed, 12 insertions, 0 deletions
diff --git a/addons/web/static/src/less/form_view_extra.less b/addons/web/static/src/less/form_view_extra.less
index 6e48c173c6e..cc153825d1c 100644
--- a/addons/web/static/src/less/form_view_extra.less
+++ b/addons/web/static/src/less/form_view_extra.less
@@ -115,6 +115,18 @@
vertical-align: middle;
}
}
+
+ &.o_full {
+ position: relative;
+ .o_button_more {
+ padding: 0 10px;
+ }
+ .o_dropdown_more {
+ .o-position-absolute(@top: 100%, @right: 0);
+ min-width: 0;
+ padding: 0px;
+ }
+ }
}
// Avatar