diff --git a/app/assets/stylesheets/shared/smart_annotation.scss b/app/assets/stylesheets/shared/smart_annotation.scss index 2e8915788..edb151729 100644 --- a/app/assets/stylesheets/shared/smart_annotation.scss +++ b/app/assets/stylesheets/shared/smart_annotation.scss @@ -36,11 +36,19 @@ } .repository-object { - max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } + + .truncate { + max-width: 150px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + margin-left: -10px; + text-align: left; + } } .atwho-view-ul { diff --git a/app/views/shared/smart_annotation/_menu.html.erb b/app/views/shared/smart_annotation/_menu.html.erb index 74a1d9d5d..7b42cc470 100644 --- a/app/views/shared/smart_annotation/_menu.html.erb +++ b/app/views/shared/smart_annotation/_menu.html.erb @@ -18,7 +18,7 @@ <% if repository.shared_with?(current_team) %> <% end %> - <%= repository.name %> +
<%= repository.name %>
<% end %>