backoffice: fix alignment of mail template subject (#49495)

This commit is contained in:
Frédéric Péters 2020-12-15 15:43:05 +01:00
parent e15ff78711
commit b6538a9f4e
2 changed files with 9 additions and 1 deletions

View File

@ -1958,3 +1958,11 @@ ul.snapshots-list .new-day, ul.snapshots-list .has-label {
#sidebar-custom-views .as-data-source {
font-weight: normal;
}
.section > h3.mail-subject {
justify-content: normal;
}
.section > h3.mail-subject span {
padding-left: 0.5rem;
}

View File

@ -15,7 +15,7 @@
{% if mail_template.subject and mail_template.body %}
<div class="section">
<h3 class="mail-subject"><strong>{% trans "Subject:" %} </strong>{{ mail_template.subject }}</h3>
<h3 class="mail-subject"><strong>{% trans "Subject:" %}</strong> <span>{{ mail_template.subject }}</span></h3>
<div class="mail-body">{{ mail_template.body }}</div>
</div>