include text for notification menu on mobile size
This commit is contained in:
@@ -1139,8 +1139,13 @@ form {
|
|||||||
color: #ecf00b;
|
color: #ecf00b;
|
||||||
font-size: rem-calc(10);
|
font-size: rem-calc(10);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 8px;
|
left: 12px;
|
||||||
top: 6px;
|
top: 6px;
|
||||||
|
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
left: auto;
|
||||||
|
right: 8px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,8 +6,14 @@
|
|||||||
<span class="icon-circle" aria-hidden="true"></span>
|
<span class="icon-circle" aria-hidden="true"></span>
|
||||||
<span class="icon-notification" aria-hidden="true" title="<%= t('layouts.header.new_notifications', count: current_user.notifications_count).html_safe %>">
|
<span class="icon-notification" aria-hidden="true" title="<%= t('layouts.header.new_notifications', count: current_user.notifications_count).html_safe %>">
|
||||||
</span>
|
</span>
|
||||||
|
<small class="show-for-small-only">
|
||||||
|
<%= t('layouts.header.new_notifications', count: current_user.notifications_count).html_safe %>
|
||||||
|
</small>
|
||||||
<% else %>
|
<% else %>
|
||||||
<span class="icon-no-notification" aria-hidden="true" title="<%= t('layouts.header.no_notifications') %>"></span>
|
<span class="icon-no-notification" aria-hidden="true" title="<%= t('layouts.header.no_notifications') %>"></span>
|
||||||
|
<small class="show-for-small-only">
|
||||||
|
<%= t('layouts.header.no_notifications') %>
|
||||||
|
</small>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user