summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2020-01-02 15:16:17 +0000
committerAaron Bohy <aab@odoo.com>2020-01-03 09:18:09 +0000
commit1e3f6882562367e9abe5d37d8136a62132919855 (patch)
tree7fb6d3025de690a6c5bd12911f7dd3c87bb3d4ba /addons/web/static/src/js/views/basic/basic_controller.js
parent56f32b1dab94580d0d18e231daa6d4ffcfc394bc (diff)
[FIX] web: form: fix broken layout with o_td_label
Rev. bc131c0cfb51 aimed to handle the case of several (conditional and exclusive) <label> tags for a same field. The idea was to wrap those <label> tags into a div with className 'o_td_label' (typically set by the framework), and let the framework move it to the td wrapping the div. However, it causes an css issue (only in community), as the presence of two o_td_label classnames (one on the td, and one on the div), produces two right borders. This commit fixes the issue by removing the classname on the div (we simply 'transfer' it to the td). Closes #42589 closes odoo/odoo#42667 X-original-commit: f71979a681d95d98db19a80feb59fdf684ec361f Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions