summaryrefslogtreecommitdiff
path: root/addons/analytic
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-08-17 11:48:55 +0200
committerqsm-odoo <qsm@odoo.com>2018-08-19 16:57:14 +0200
commitece1e3d93fda7dcede36566699b45e06738701c5 (patch)
tree6d6df1f49016e8018f54aaeda7de496ad46d5779 /addons/analytic
parentaa0c4d702dd47906d462423175cb7673a02f970a (diff)
[FIX] *: BS4, restore right-aligned columns
With BS3, if a column was supposed to be aligned on the right, using the 'pull-right' class on it did the trick. With BS4, this is not the case anymore as .row elements use flex. This commit use one of those 3 solutions case per case: - If the column was alone on its row, then adding the 'justify-content-end' class on the row. - If the column was not alone on its row, then adding the 'ml-auto' class on the column instead. - If the column was already filling the row, there was no point in aligning it to the right Note: this commit does not case about potential xpath which would add new columns in one of those rows. If any, this can be handled as a fix later.
Diffstat (limited to 'addons/analytic')
-rw-r--r--addons/analytic/views/analytic_account_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/analytic/views/analytic_account_views.xml b/addons/analytic/views/analytic_account_views.xml
index bfd7e19f800..8b5b51f164f 100644
--- a/addons/analytic/views/analytic_account_views.xml
+++ b/addons/analytic/views/analytic_account_views.xml
@@ -352,7 +352,7 @@
<div class="col-6">
<strong><span><t t-esc="record.name.value"/></span></strong>
</div>
- <div class="col-6 float-right text-right">
+ <div class="col-6 text-right">
<strong><t t-esc="record.date.value"/></strong>
</div>
</div>