last touchups

This commit is contained in:
Connor Turland 2016-12-13 09:30:25 -05:00
parent 999414fffc
commit 69b67f8425
5 changed files with 11 additions and 4 deletions

View file

@ -240,8 +240,9 @@
position: relative;
.unread-notifications-dot {
top: 17px;
top: 50%;
left: 0px;
margin-top: -4px;
}
}
}

View file

@ -44,6 +44,10 @@ $unread_notifications_dot_size: 8px;
margin-bottom: 0;
}
.emptyInbox {
padding-top: 15px;
}
.notification:first-child {
border-top: none;
}

View file

@ -29,7 +29,9 @@
</li>
<% end %>
<% if @notifications.count == 0 %>
You have ZERO unread notifications. Huzzah!
<div class="emptyInbox">
You have ZERO unread notifications. Huzzah!
</div>
<% end %>
</ul>
</div>

View file

@ -1,3 +1,3 @@
<div class="unsubscribe-link">
<%= link_to 'Click here to unsubscribe from all Metamaps emails', unsubscribe_notifications_url %>
<%= link_to 'Click here to unsubscribe from all Metamaps emails', unsubscribe_notifications_url(https: !!Rails.env.production?) %>
</div>

View file

@ -2,4 +2,4 @@
You can unsubscribe from all Metamaps emails by visiting the following link:
<%= unsubscribe_notifications_url %>
<%= unsubscribe_notifications_url(https: !!Rails.env.production?) %>