last touchups
This commit is contained in:
parent
999414fffc
commit
69b67f8425
5 changed files with 11 additions and 4 deletions
|
@ -240,8 +240,9 @@
|
|||
position: relative;
|
||||
|
||||
.unread-notifications-dot {
|
||||
top: 17px;
|
||||
top: 50%;
|
||||
left: 0px;
|
||||
margin-top: -4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,6 +44,10 @@ $unread_notifications_dot_size: 8px;
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.emptyInbox {
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
.notification:first-child {
|
||||
border-top: none;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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?) %>
|
||||
|
|
Loading…
Reference in a new issue