From 292ffeec00532751fa539777760cce59cfdf341d Mon Sep 17 00:00:00 2001
From: Munaf Khan
Date: Thu, 29 Apr 2021 07:03:33 +0000
Subject: [PATCH] [FIX] various: avoid scroll for button(s) within mail
templates
Right now, for notifications handled by odoo (which are being displayed on
discuss app / object chatter), few of the buttons have unexpected scroll
(mostly the CTAs that redirect to record / portal views) and ruins the UI.
This commit fixes the issue by improving such templates by using proper
paddings on the button.
TaskId:2518863
closes odoo/odoo#70083
Related: odoo/enterprise#18225
Signed-off-by: Thibault Delavallee (tde)
---
addons/calendar/data/mail_template_data.xml | 6 +++---
addons/hr_recruitment/data/mail_template_data.xml | 4 ++--
addons/mail/data/mail_templates.xml | 4 ++--
addons/website_sale/data/mail_template_data.xml | 2 +-
addons/website_slides/data/mail_template_data.xml | 8 ++++----
5 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/addons/calendar/data/mail_template_data.xml b/addons/calendar/data/mail_template_data.xml
index 8a1532e49ba..452962d3c24 100644
--- a/addons/calendar/data/mail_template_data.xml
+++ b/addons/calendar/data/mail_template_data.xml
@@ -36,7 +36,7 @@
Your meeting ${object.event_id.name} has been booked.
% endif
diff --git a/addons/mail/data/mail_templates.xml b/addons/mail/data/mail_templates.xml
index 2f99061e7cd..3071cb5bc0c 100644
--- a/addons/mail/data/mail_templates.xml
+++ b/addons/mail/data/mail_templates.xml
@@ -270,7 +270,7 @@
Dear , You have been assigned to the .
-