From aa4590f4d9f3ae26a87a9ffa6d4426b3af1f704d Mon Sep 17 00:00:00 2001 From: Antoine Guenet Date: Thu, 12 May 2022 14:00:41 +0000 Subject: [PATCH] [FIX] mass_mailing: center header cells on mobile On mobile, header cells don't always have the space to fit in one line and end up getting stacked with one aligned to the left and the other aligned to the right. To avoid this ugly mess, center everything on mobile. task-2761098 Part-of: odoo/odoo#87962 --- addons/mass_mailing/views/assets.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/addons/mass_mailing/views/assets.xml b/addons/mass_mailing/views/assets.xml index 5e40487e0fb..6b50f427bea 100644 --- a/addons/mass_mailing/views/assets.xml +++ b/addons/mass_mailing/views/assets.xml @@ -59,6 +59,13 @@ .o_mail_table_styles { width: 100% !important; } + .s_header_social table td, .s_header_text_social table td, .s_header_logo table td, + .o_mail_block_footer_social td, + .s_showcase td, + .s_mail_product_list td, + .s_references td { + text-align: center !important; + } } @media screen and (max-width: 1135px) { td {