From 25147da7315efb2d00016ee5b62d1262d7789489 Mon Sep 17 00:00:00 2001 From: Bastien DUMONT <bdumont@grandlyon.com> Date: Tue, 8 Mar 2022 12:52:05 +0000 Subject: [PATCH] fix : fixed serif font in some newsletter --- src/notifications/consumptionLimit.hbs | 10 +++++----- src/notifications/monthlyReport.hbs | 2 +- src/notifications/style.hbs | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/notifications/consumptionLimit.hbs b/src/notifications/consumptionLimit.hbs index e3bebd4ef..ed7c16583 100644 --- a/src/notifications/consumptionLimit.hbs +++ b/src/notifications/consumptionLimit.hbs @@ -9,10 +9,10 @@ <mj-section background-color="#121212"> <mj-column width="60%" vertical-align="middle"> - <mj-text color="white" font-weight="900" font-size="24px" font-family="Lato"> + <mj-text color="white" font-weight="900" font-size="24px"> Bonjour {{username}}, </mj-text> - <mj-text color="white" font-weight="400" font-size="18px" font-family="Lato"> + <mj-text color="white" font-weight="400" font-size="18px"> La limite de consommation d'eau journalière que vous avez fixée à {{userLimit}} L a été dépassée le {{limitDate}}.<br /> Pour comprendre ce qu’il s’est passé, rendez-vous dans Ecolyo. </mj-text> @@ -25,12 +25,12 @@ <mj-section background-color="#121212"> <mj-column> - <mj-social css-class="button-with-icon" icon-size="36px" mode="horizontal" font-size="20px" font-weight="700" font-family="Lato"> - <mj-social-element src="{{baseUrl}}/assets/ecolyo-icon.png" name="ecolyo" font-family="Lato" padding="0 10px 0 0" href="{{clientUrl}}"> + <mj-social css-class="button-with-icon" icon-size="36px" mode="horizontal" font-size="20px" font-weight="700"> + <mj-social-element src="{{baseUrl}}/assets/ecolyo-icon.png" name="ecolyo" padding="0 10px 0 0" href="{{clientUrl}}"> Voir dans Ecolyo </mj-social-element> </mj-social> - <mj-text color="white" font-weight="400" font-size="18px" align="center" font-family="Lato"> + <mj-text color="white" font-weight="400" font-size="18px" align="center"> Vous souhaitez modifier votre seuil d'alerte ou supprimer cette notification ? <a href="{{unsubscribeUrl}}" style="color: #E3B82A; font-weight: 900 !important;">C'est ici</a> </mj-text> </mj-column> diff --git a/src/notifications/monthlyReport.hbs b/src/notifications/monthlyReport.hbs index ce404c0dc..fa907c871 100644 --- a/src/notifications/monthlyReport.hbs +++ b/src/notifications/monthlyReport.hbs @@ -37,7 +37,7 @@ <mj-section background-color="#121212"> <mj-column> <mj-text color="white" font-weight="400" font-size="18px">Retrouvez le détail de vos consommations et plus d'informations dans votre bilan Ecolyo.<br /><br /></mj-text> - <mj-social css-class="button-with-icon" icon-size="36px" mode="horizontal" font-size="20px" font-weight="700" > + <mj-social css-class="button-with-icon" icon-size="36px" mode="horizontal" font-size="20px" font-weight="700"> <mj-social-element src="{{baseUrl}}/assets/ecolyo-icon.png" name="ecolyo" padding="0 10px 0 0" href="{{clientUrl}}"> Voir mon bilan </mj-social-element> diff --git a/src/notifications/style.hbs b/src/notifications/style.hbs index e3eda4f4d..69b682c0f 100644 --- a/src/notifications/style.hbs +++ b/src/notifications/style.hbs @@ -20,7 +20,7 @@ table { background-color: #F1C017 !important; margin-left: 10px !important; margin-right: 10px !important; } .button-with-icon span { vertical-align: middle !important; } .button-with-icon a { vertical-align: middle !important; padding-right: 10px !important;} - .button-with-icon a img { padding-top: 20px;} + .button-with-icon a img { padding-top: 20px !important;} </mj-style> <mj-style> .custom-link a { color: #F1C017 !important; text-decoration: none !important; -- GitLab