summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
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/web/static/src/xml
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/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions