summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/form_view.less
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-05-22 10:24:41 +0200
committerAaron Bohy <aab@odoo.com>2017-05-22 13:06:10 +0200
commit3bb2b69d4a320746d7e3b249bb0899a4de61b1d9 (patch)
tree15a938ead24d58c9d0ad934e87d270ab75b895bd /addons/web/static/src/less/form_view.less
parent3a9d3a735dd6a3a8e85fd980d419769ad558916a (diff)
[FIX] web: Form: right align subtotals
The subtotals displayed in the oe_subtotal_footer (e.g. sale.order form view) should be right aligned. Before this rev. this wasn't the case for monetary fields, they are now displayed 'inline-flex', whatever the form mode (before the new views, they were 'inline-flex' only in edit mode). Credit goes to @qsm-odoo.
Diffstat (limited to 'addons/web/static/src/less/form_view.less')
-rw-r--r--addons/web/static/src/less/form_view.less1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/less/form_view.less b/addons/web/static/src/less/form_view.less
index 3b191a0837a..34ce34e6ad8 100644
--- a/addons/web/static/src/less/form_view.less
+++ b/addons/web/static/src/less/form_view.less
@@ -435,6 +435,7 @@
.o_field_widget {
text-align: right;
+ .o-justify-content(flex-end);
width: 100%;
}
}