Merge pull request #48767 from c960657/mailer-preview-wrap
Prevent header wrapping in email preview
This commit is contained in:
commit
31d66f72de
@ -44,6 +44,13 @@
|
|||||||
content: "\00a0"; //
|
content: "\00a0"; //
|
||||||
}
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
font-weight: inherit;
|
||||||
|
color: #7f7f7f;
|
||||||
|
text-align: right;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
iframe {
|
iframe {
|
||||||
border: 0;
|
border: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -134,7 +141,7 @@
|
|||||||
<table>
|
<table>
|
||||||
<% @email.header_fields.each do |field| %>
|
<% @email.header_fields.each do |field| %>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="right" style="color: #7f7f7f"><%= field.name %>:</td>
|
<th><%= field.name %>:</th>
|
||||||
<td><%= field.value %></td>
|
<td><%= field.value %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
Loading…
Reference in New Issue
Block a user