mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-06 21:24:23 +08:00
Fix members dropdown CSS, order [SCI-6595] (#3919)
This commit is contained in:
parent
881e6403aa
commit
e948fc20bc
2 changed files with 30 additions and 1 deletions
|
@ -68,6 +68,35 @@
|
|||
hr {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.group-members-button {
|
||||
cursor: pointer;
|
||||
margin-left: .5em;
|
||||
}
|
||||
|
||||
.group-members-content {
|
||||
max-height: 180px;
|
||||
min-width: 260px;
|
||||
overflow: auto;
|
||||
padding: .6em 1em;
|
||||
|
||||
.title {
|
||||
@include font-small;
|
||||
color: $color-silver-chalice;
|
||||
padding-bottom: .5em;
|
||||
}
|
||||
|
||||
.name {
|
||||
@include font-button;
|
||||
padding: .4em 0;
|
||||
}
|
||||
|
||||
.no-members {
|
||||
@include font-button;
|
||||
font-style: italic;
|
||||
padding: .4em 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.permission-object-tag {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<div class="title">
|
||||
<%= t('.title', team: team.name) %>
|
||||
</div>
|
||||
<% team.users.where.not(id: project.manually_assigned_users.select(:id)).each do |user| %>
|
||||
<% team.users.order(full_name: :asc).where.not(id: project.manually_assigned_users.select(:id)).each do |user| %>
|
||||
<div class="name">
|
||||
<%= user.full_name %>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue