restyled team switch dropdown

This commit is contained in:
zmagod 2016-10-17 09:59:12 +02:00
parent a116feac9c
commit 8a6899aeea
2 changed files with 3 additions and 3 deletions

View file

@ -556,11 +556,10 @@ a[data-toggle="tooltip"] {
// Global team switch
#team-switch {
background: $color-theme-primary;
word-wrap: break-word;
span {
color: $color-white;
i {
margin-right: 5px;
}
li {

View file

@ -104,6 +104,7 @@
<% if current_user.organizations.length > 1 %>
<li class="dropdown" id="team-switch">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
<%= fa_icon 'users' %>
<span>
<%= truncate_organization_name(current_organization.name) %>
</span>