From abe68c9fb8e1b44d938833bdb2af862ec0f6f065 Mon Sep 17 00:00:00 2001 From: David Beguin Date: Wed, 3 Jun 2020 13:08:45 +0000 Subject: [PATCH] [IMP] web: add margin for statusbar_buttons icons Before this commit, when adding a icon to a statusbar button, there was no margin between icon and text. This makes button not very nice as button is very near to the text itself. After this commit, for readability purpose, a margin has been added to the icons of a statusbar button. Statbutton margin has been chosen to keep things coherent through form buttons. LINKS Task ID-2083049 COM PR odoo/odoo#49129 ENT PR odoo/enterprise#9715 UPG PR odoo/upgrade#1883 --- addons/web/static/src/scss/form_view.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/web/static/src/scss/form_view.scss b/addons/web/static/src/scss/form_view.scss index ff0ec53022d..dfd4791e5b1 100644 --- a/addons/web/static/src/scss/form_view.scss +++ b/addons/web/static/src/scss/form_view.scss @@ -191,6 +191,10 @@ margin: $o-statusbar-buttons-vmargin 3px $o-statusbar-buttons-vmargin 0; padding-top: 2px; padding-bottom: 2px; + + > .o_button_icon { + margin-right: $o-statbutton-spacing; + } } }