mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +08:00
restyled team switch dropdown
This commit is contained in:
parent
a116feac9c
commit
8a6899aeea
2 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue