prevent long email addresses from breaking admin table layout

This commit is contained in:
Kris
2020-08-04 16:47:50 -04:00
parent 0cda5b9d55
commit eb619c8e98
2 changed files with 12 additions and 6 deletions
@@ -19,9 +19,9 @@
</tr>
{{#each model as |l|}}
<tr>
<td>{{format-date l.created_at}}</td>
<td>
<tr class="sent-email-item">
<td class="sent-email-date">{{format-date l.created_at}}</td>
<td class="sent-email-username">
{{#if l.user}}
{{#link-to "adminUser" l.user}}{{avatar l.user imageSize="tiny"}}{{/link-to}}
{{#link-to "adminUser" l.user}}{{l.user.username}}{{/link-to}}
@@ -29,12 +29,12 @@
&mdash;
{{/if}}
</td>
<td>
<td class="sent-email-address">
{{#if l.bounced}}{{d-icon "redo" title="admin.email.bounced"}}{{/if}}
<a href="mailto:{{l.to_address}}">{{l.to_address}}</a>
</td>
<td>{{l.email_type}}</td>
<td class="post-link">
<td class="sent-email-type">{{l.email_type}}</td>
<td class="sent-email-post-link">
{{#if l.post_url}}
<a href={{l.post_url}}>{{l.post_description}}</a>
<span class="reply-key">{{l.reply_key}}</span>