<% if current_user.new_messages.size > 0 %>
<span class="badge count-number position-static m-1"><%= current_user.new_messages.size %></span>
<% end %>
- <span class='username align-middle text-truncate'>
+ <span class='username align-middle text-truncate' dir='auto'>
<%= current_user.display_name %>
</span>
</button>