fixed ugly overflow in mail footer

This commit is contained in:
jomo
2014-06-17 21:35:46 +02:00
parent f1887881c1
commit 08c37e17f2
4 changed files with 43 additions and 35 deletions

View File

@@ -18,14 +18,16 @@
</div> </div>
</div> </div>
<div style="background: none repeat scroll 0% 0% rgb(68, 68, 68); width: 100%; padding: 2em; color: rgb(255, 255, 255); margin:auto; text-align: center;"> <div style="background: #444; width: 100%; color: #fff; margin: auto; text-align: center; display: inline-block;">
<p><i>If you did not change your mail on redstoner.com please ignore this email!</i> <div style="margin: 2em;">
</p> <p><i>If you did not change your mail on redstoner.com please ignore this email!</i>
<p>You can contact us via: </p>
<%= link_to "Website", root_url, style: "text-decoration: none; color: #4096EE;" %> | <p>You can contact us via:
<%= link_to "Twitter", "https://twitter.com/RedstonerServer", style: "text-decoration: none; color: #4096EE;" %> | <%= link_to "Website", root_url, style: "text-decoration: none; color: #4096EE;" %> |
<%= link_to "Google+", "https://google.com/+Redstoner", style: "text-decoration: none; color: #4096EE;" %> | <%= link_to "Twitter", "https://twitter.com/RedstonerServer", style: "text-decoration: none; color: #4096EE;" %> |
<%= link_to "Email", "mailto:redstonerserver+website@gmail.com", style: "text-decoration: none; color: #4096EE;" %> <%= link_to "Google+", "https://google.com/+Redstoner", style: "text-decoration: none; color: #4096EE;" %> |
</p> <%= link_to "Email", "mailto:redstonerserver+website@gmail.com", style: "text-decoration: none; color: #4096EE;" %>
</p>
</div>
</div> </div>
</div> </div>

View File

@@ -16,13 +16,15 @@
</div> </div>
</div> </div>
<div style="background: #444; width: 100%; padding: 2em; color: #fff; margin: auto; text-align: center;"> <div style="background: #444; width: 100%; color: #fff; margin: auto; text-align: center; display: inline-block;">
<p><i>Too much spam? Change <%= link_to "your notification settings", edit_notifications_user_url(@user), style: "text-decoration: none; color: #4096EE;" %>!</i></p> <div style="margin: 2em;">
<p>You can contact us via: <p><i>Too much spam? Change <%= link_to "your notification settings", edit_notifications_user_url(@user), style: "text-decoration: none; color: #4096EE;" %>!</i></p>
<%= link_to "Website", root_url, style: "text-decoration: none; color: #4096EE;" %> | <p>You can contact us via:
<%= link_to "Twitter", "https://twitter.com/RedstonerServer", style: "text-decoration: none; color: #4096EE;" %> | <%= link_to "Website", root_url, style: "text-decoration: none; color: #4096EE;" %> |
<%= link_to "Google+", "https://google.com/+Redstoner", style: "text-decoration: none; color: #4096EE;" %> | <%= link_to "Twitter", "https://twitter.com/RedstonerServer", style: "text-decoration: none; color: #4096EE;" %> |
<%= link_to "Email", "mailto:redstonerserver+website@gmail.com", style: "text-decoration: none; color: #4096EE;" %> <%= link_to "Google+", "https://google.com/+Redstoner", style: "text-decoration: none; color: #4096EE;" %> |
</p> <%= link_to "Email", "mailto:redstonerserver+website@gmail.com", style: "text-decoration: none; color: #4096EE;" %>
</p>
</div>
</div> </div>
</div> </div>

View File

@@ -16,14 +16,16 @@
</div> </div>
</div> </div>
<div style="background: #444; width: 100%; padding: 2em; color: #fff; margin: auto; text-align: center;"> <div style="background: #444; width: 100%; color: #fff; margin: auto; text-align: center; display: inline-block;">
<p><i>Too much spam? Change <%= link_to "your notification settings", edit_notifications_user_url(@user), style: "text-decoration: none; color: #4096EE;" %>!</i></p> <div style="margin: 2em;">
</p> <p><i>Too much spam? Change <%= link_to "your notification settings", edit_notifications_user_url(@user), style: "text-decoration: none; color: #4096EE;" %>!</i></p>
<p>You can contact us via: </p>
<%= link_to "Website", root_url, style: "text-decoration: none; color: #4096EE;" %> | <p>You can contact us via:
<%= link_to "Twitter", "https://twitter.com/RedstonerServer", style: "text-decoration: none; color: #4096EE;" %> | <%= link_to "Website", root_url, style: "text-decoration: none; color: #4096EE;" %> |
<%= link_to "Google+", "https://google.com/+Redstoner", style: "text-decoration: none; color: #4096EE;" %> | <%= link_to "Twitter", "https://twitter.com/RedstonerServer", style: "text-decoration: none; color: #4096EE;" %> |
<%= link_to "Email", "mailto:redstonerserver+website@gmail.com", style: "text-decoration: none; color: #4096EE;" %> <%= link_to "Google+", "https://google.com/+Redstoner", style: "text-decoration: none; color: #4096EE;" %> |
</p> <%= link_to "Email", "mailto:redstonerserver+website@gmail.com", style: "text-decoration: none; color: #4096EE;" %>
</p>
</div>
</div> </div>
</div> </div>

View File

@@ -30,14 +30,16 @@
</div> </div>
</div> </div>
<div style="background: none repeat scroll 0% 0% rgb(68, 68, 68); width: 100%; padding: 2em; color: rgb(255, 255, 255); margin:auto; text-align: center;"> <div style="background: #444; width: 100%; color: #fff; margin: auto; text-align: center; display: inline-block;">
<p><i>If you did not sign up on redstoner.com you can safely ignore this email!</i> <div style="margin: 2em;">
</p> <p><i>If you did not sign up on redstoner.com you can safely ignore this email!</i>
<p>You can contact us via: </p>
<%= link_to "Website", root_url, style: "text-decoration: none; color: #4096EE;" %> | <p>You can contact us via:
<%= link_to "Twitter", "https://twitter.com/RedstonerServer", style: "text-decoration: none; color: #4096EE;" %> | <%= link_to "Website", root_url, style: "text-decoration: none; color: #4096EE;" %> |
<%= link_to "Google+", "https://google.com/+Redstoner", style: "text-decoration: none; color: #4096EE;" %> | <%= link_to "Twitter", "https://twitter.com/RedstonerServer", style: "text-decoration: none; color: #4096EE;" %> |
<%= link_to "Email", "mailto:redstonerserver+website@gmail.com", style: "text-decoration: none; color: #4096EE;" %> <%= link_to "Google+", "https://google.com/+Redstoner", style: "text-decoration: none; color: #4096EE;" %> |
</p> <%= link_to "Email", "mailto:redstonerserver+website@gmail.com", style: "text-decoration: none; color: #4096EE;" %>
</p>
</div>
</div> </div>
</div> </div>