Merge pull request #48767 from c960657/mailer-preview-wrap

Prevent header wrapping in email preview
This commit is contained in:
Carlos Antonio da Silva 2023-10-12 18:09:34 -03:00 committed by GitHub
commit 31d66f72de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,6 +44,13 @@
content: "\00a0"; //  
}
th {
font-weight: inherit;
color: #7f7f7f;
text-align: right;
white-space: nowrap;
}
iframe {
border: 0;
width: 100%;
@ -134,7 +141,7 @@
<table>
<% @email.header_fields.each do |field| %>
<tr>
<td align="right" style="color: #7f7f7f"><%= field.name %>:</td>
<th><%= field.name %>:</th>
<td><%= field.value %></td>
</tr>
<% end %>