Fix members dropdown CSS, order [SCI-6595] (#3919)

This commit is contained in:
artoscinote 2022-03-07 17:11:35 +01:00 committed by GitHub
parent 881e6403aa
commit e948fc20bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 1 deletions

View file

@ -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 {

View file

@ -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>