Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
Improved Email UI for #27
Browse files Browse the repository at this point in the history
  • Loading branch information
cdemi committed Oct 16, 2018
1 parent af0a8ce commit d89f6a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions NewsletterCurator.Web/Views/Email/Preview.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
}
h3 {
padding-top: 20px;
padding-top: 40px;
}
a {
margin: 0 !important;
font-weight: bold !important;
text-decoration: underline !important;
color: #0065b9 !important;
}
Expand Down Expand Up @@ -66,8 +66,8 @@
@foreach (var newsItem in category.Newsitems)
{
<tr>
<td align="center">
<a href="@newsItem.URL" target="_blank"><h3 style="display:inline-block;">@newsItem.Title</h3>&nbsp; <span style="font-size: 12px">(@(new Uri(newsItem.URL).Host.Replace("www.", "")))</span></a>
<td>
<a href="@newsItem.URL" target="_blank"><h3 style="display:inline-block;">@newsItem.Title&nbsp; <span style="font-size: 12px">(@(new Uri(newsItem.URL).Host.Replace("www.", "")))</span></h3></a>
</td>
</tr>
@if (!String.IsNullOrEmpty(newsItem.ImageURL))
Expand All @@ -82,7 +82,7 @@
}
<tr>
<td align="justify">
@newsItem.Summary... <a href="@newsItem.URL" target="_blank">Read More...</a>
@newsItem.Summary... <a href="@newsItem.URL" target="_blank">Read more</a>
</td>
</tr>
}
Expand Down

0 comments on commit d89f6a1

Please sign in to comment.