app/views/layouts/proclaim/subscription_mailer.html.erb in proclaim-0.5.6 vs app/views/layouts/proclaim/subscription_mailer.html.erb in proclaim-0.6.0
- old
+ new
@@ -41,61 +41,41 @@
margin: 0 0 10px 0;
font-size: 30px;
padding: 0;
}
- .mediumInsert
+ p img
{
- margin: 0px;
- }
-
- .mediumInsert.small
- {
float: left;
max-width: 35%;
- min-height: 18px;
+ margin-right: 15px;
}
- .mediumInsert img
+ p.ql-align-right
{
- margin: 0px;
- vertical-align: top;
- max-width: 100%;
- border: 0px none;
+ text-align: right;
}
- .mediumInsert.small img
+ p.ql-align-right img
{
- max-width: 100%;
+ float: right;
+ max-width: 35%;
+ margin-left: 15px;
}
- figure.mediumInsert-images
+ p.ql-align-center img
{
- width: 100%;
- margin: 0px;
- text-align: center;
- display: inline-block;
+ float: inherit;
+ max-width: 100%;
}
- figure.mediumInsert-images.small
+ p.ql-align-justify img
{
- padding-bottom: 18px;
- padding-right: 30px;
+ float: inherit;
+ max-width: 100%;
}
- figure.mediumInsert-images:first-child
- {
- margin-right: 0px;
- width: 100%;
- }
-
- .medium-editor-insert-plugin p
- {
- margin: 0px 0px 10px;
- box-sizing: border-box;
- }
-
td.post_body
{
padding-bottom: 10px;
font-size: 18px;
}
@@ -157,11 +137,10 @@
<tr>
<td>
<% url = root_url.gsub(/\A.*:\/\//, '').gsub(/\A(.*?)\/*\z/, '\1') %>
<% if @subscription.post %>
- You're receiving this email because you requested to be notified if a new comment was made on <%= link_to "this post", @subscription.post %>
- at <%= link_to url, posts_url %>.
+ You're receiving this email because you requested to be notified if a new comment was made on <%= link_to "this post", @subscription.post %> at <%= link_to url, posts_url %>.
<% else %>
You're receiving this email because you requested to be notified if a new post was made at <%= link_to url, posts_url %>.
<% end %>
If you no longer wish to receive these emails, simply <%= link_to "unsubscribe", subscription_url(@subscription.token) %>.
</td>