Files
crm_ecosplay/templates/emails/forgot_password_code.html.twig
Serreau Jovann 27cd61193b fix: corriger line-height et supprimer box-shadow dans les templates email
Outlook Windows (2007-2019) a un bug avec line-height en em et sans unite:
le rendu est imprevisible. La solution est d'utiliser des valeurs en px
avec mso-line-height-rule:exactly.

templates/email/base.html.twig:
- cellule contenu: line-height: 1.6 remplace par line-height: 22px
  avec ajout de mso-line-height-rule: exactly

templates/emails/2fa_code.html.twig:
- 3 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule

templates/emails/forgot_password_code.html.twig:
- 3 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule

templates/emails/membre_created.html.twig:
- 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule
- 2 listes ul: line-height: 1.8 remplace par 25px (font 14px)
  et 23px (font 13px) + mso-line-height-rule

templates/emails/password_changed.html.twig:
- 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule

templates/emails/revendeur_created.html.twig:
- 5 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule

templates/emails/rgpd_access.html.twig:
- 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule

templates/emails/rgpd_attestation_signed.html.twig:
- 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule

templates/emails/rgpd_deletion.html.twig:
- 4 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule

templates/emails/rgpd_no_data.html.twig:
- 5 paragraphes: line-height: 1.6 remplace par 22px + mso-line-height-rule

Suppression de box-shadow dans tous les templates email (non supporte
par Outlook Windows, Orange, GMX, WEB.DE, Samsung Email).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 20:37:37 +02:00

15 lines
1.6 KiB
Twig

{% extends 'email/base.html.twig' %}
{% block title %}Code de reinitialisation{% endblock %}
{% block content %}
<h1 style="font-size: 20px; font-weight: bold; text-transform: uppercase; margin-top: 0; margin-right: 0; margin-bottom: 16px; margin-left: 0;">Reinitialisation du mot de passe</h1>
<p style="font-size: 14px; mso-line-height-rule: exactly; line-height: 22px; margin-top: 0; margin-right: 0; margin-bottom: 16px; margin-left: 0;">Bonjour,</p>
<p style="font-size: 14px; mso-line-height-rule: exactly; line-height: 22px; margin-top: 0; margin-right: 0; margin-bottom: 16px; margin-left: 0;">Vous avez demande la reinitialisation de votre mot de passe sur le CRM SITECONSEIL. Voici votre code de verification :</p>
<div style="text-align: center; margin-top: 24px; margin-right: 0; margin-bottom: 24px; margin-left: 0;">
<span style="display: inline-block; padding-top: 16px; padding-right: 32px; padding-bottom: 16px; padding-left: 32px; background-color: #111827; color: #fabf04; font-size: 32px; font-weight: 700; letter-spacing: 0.3em; font-family: monospace;">{{ code }}</span>
</div>
<p style="font-size: 14px; mso-line-height-rule: exactly; line-height: 22px; margin-top: 0; margin-right: 0; margin-bottom: 16px; margin-left: 0;">Ce code est valable <strong>10 minutes</strong>. Si vous n'avez pas demande cette reinitialisation, ignorez cet email.</p>
<p style="font-size: 12px; color: #999; margin-top: 16px; margin-right: 0; margin-bottom: 0; margin-left: 0;">Pour des raisons de securite, ne partagez jamais ce code avec qui que ce soit.</p>
{% endblock %}