diff options
| author | Aaron Bohy <aab@odoo.com> | 2020-05-26 15:26:27 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2020-05-29 07:40:24 +0000 |
| commit | 042b4060bdbbda73f5e02c902a8ecf8ab7ef96cb (patch) | |
| tree | 1ecb6c88281a48daca9ceb694251821b1b5dd219 /addons/web/static/src/scss/list_view.scss | |
| parent | e34689411c9df68229143a43415d0925972202b8 (diff) | |
[IMP] web: list: display adjacent buttons in same column
Adjacent buttons in the arch are now displayed in a single column
in list views (main and x2many views). As soon as there is a node
in-between (even if it is invisible="1"), the rule doesn't apply
anymore and buttons placed before/after that node are rendered in
a separated column.
Task 2261774
closes odoo/odoo#51970
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/scss/list_view.scss')
| -rw-r--r-- | addons/web/static/src/scss/list_view.scss | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/addons/web/static/src/scss/list_view.scss b/addons/web/static/src/scss/list_view.scss index 42749503829..35c0cf95ca3 100644 --- a/addons/web/static/src/scss/list_view.scss +++ b/addons/web/static/src/scss/list_view.scss @@ -42,8 +42,11 @@ width: 17px; height: 17px; } - &.o_list_button .o_button_icon { - margin-right: 3px; + &.o_list_button > button { + padding: 0 5px; + .o_button_icon { + margin-right: 3px; + } } } |
