mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-02 21:51:51 +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
|
// 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 {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue