From f9bf456ba9816d62626e910f3f066207dec038fe Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Fri, 30 Jun 2023 14:59:54 +0000 Subject: [PATCH] [FIX] mass_mailing: move buttons up on tablet and fix their spacings The buttons on the Mailing Lists page were under the content and felt weirdly placed. These have been moved up on smaller devices to be next to the Total Contacts column, making the visual result more balanced. Note that these buttons are only visible on tablet and desktop, not mobile. The buttons' spacings have been fixed so as to not touch one another. This commit also fixes the padding on either side of the ungrouped Kanban card to be aligned with the control panel. task-3378519 part of task-3326263 closes odoo/odoo#127613 X-original-commit: 8c4dbaa37cccda6a5af5e9c5be216e69ecd4227d Related: odoo/enterprise#43762 Signed-off-by: Pierre Paridans (app) --- .../mass_mailing/static/src/scss/mass_mailing.scss | 2 ++ addons/mass_mailing/views/mailing_list_views.xml | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/addons/mass_mailing/static/src/scss/mass_mailing.scss b/addons/mass_mailing/static/src/scss/mass_mailing.scss index 9c213709396..7552ddb9a3d 100644 --- a/addons/mass_mailing/static/src/scss/mass_mailing.scss +++ b/addons/mass_mailing/static/src/scss/mass_mailing.scss @@ -121,6 +121,8 @@ display: none !important; } .o_mailing_list_kanban_ungrouped { + --KanbanRecord-padding-h: #{$o-horizontal-padding}; + .o_mailing_list_kanban_stats > div { min-width: 70px; } diff --git a/addons/mass_mailing/views/mailing_list_views.xml b/addons/mass_mailing/views/mailing_list_views.xml index 5fe1c7a43a9..9ea318a9e92 100644 --- a/addons/mass_mailing/views/mailing_list_views.xml +++ b/addons/mass_mailing/views/mailing_list_views.xml @@ -169,7 +169,7 @@ -
+
-
+
-
+ -
+