Smart annotation modal: inventory name not correct [SCI-9332]

This commit is contained in:
Giga Chubinidze 2023-10-02 08:14:16 +04:00
parent a1df2b7b52
commit 3932b22cd4
2 changed files with 10 additions and 2 deletions

View file

@ -36,11 +36,19 @@
} }
.repository-object { .repository-object {
max-width: 250px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
.truncate {
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-left: -10px;
text-align: left;
}
} }
.atwho-view-ul { .atwho-view-ul {

View file

@ -18,7 +18,7 @@
<% if repository.shared_with?(current_team) %> <% if repository.shared_with?(current_team) %>
<i class="sn-icon sn-icon-user-menu-friends"></i> <i class="sn-icon sn-icon-user-menu-friends"></i>
<% end %> <% end %>
<%= repository.name %> <div class="truncate"><%= repository.name %></div>
</button> </button>
<% end %> <% end %>
</div> </div>