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 // Global team switch
#team-switch { #team-switch {
background: $color-theme-primary;
word-wrap: break-word; word-wrap: break-word;
span { i {
color: $color-white; margin-right: 5px;
} }
li { li {

View file

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