Fix click zone for manage users buttons [SCI-5483]

This commit is contained in:
aignatov-bio 2021-03-02 15:32:53 +01:00
parent abdf3b32be
commit dcea1b558b
2 changed files with 10 additions and 9 deletions

View file

@ -546,8 +546,9 @@ li.module-hover {
.card {
.project-users-link {
align-items: center;
color: $color-silver-chalice;
display: inline;
display: flex;
&:hover {
text-decoration: none;
@ -674,21 +675,21 @@ li.module-hover {
}
.global-avatar-container {
height: 28px;
height: 2em;
line-height: 2em;
margin-right: .25em;
width: 28px;
width: 2em;
}
.more-users {
align-items: center;
background: $color-volcano;
border-radius: 50%;
color: $color-white;
cursor: pointer;
display: flex;
height: 2em;
justify-content: center;
line-height: 2em;
margin-right: .25em;
text-align: center;
text-decoration: none;
width: 2em;
}

View file

@ -6,7 +6,7 @@
<% more_users = project.user_projects[4..-1].to_a %>
<% if more_users.any? %>
<a href="" class="more-users" title="<%= user_names_with_roles(more_users) %>">
<span class="more-users" title="<%= user_names_with_roles(more_users) %>">
+<%= more_users.size %>
</a>
</span>
<% end %>