Commit 397d8a89847d24f4cb658826009b0bfc3fc3645c

Authored by Rodrigo Souto
1 parent 12f1d2a5

profile-suggestions: tags overflow ellipsis

app/helpers/application_helper.rb
... ... @@ -1433,6 +1433,6 @@ module ApplicationHelper
1433 1433 end
1434 1434 last_tag = tags.pop
1435 1435 tags << last_tag.strip.chop if last_tag.present?
1436   - content_tag(:div, tags.join, :class => 'tag-connections')
  1436 + content_tag(:div, tags.join, :class => 'tag-connections', :title => tags.join)
1437 1437 end
1438 1438 end
... ...
public/stylesheets/application.css
... ... @@ -4099,6 +4099,10 @@ h1#agenda-title {
4099 4099 .tag-connections {
4100 4100 margin-left: 2px;
4101 4101 margin-top: 3px;
  4102 + overflow: hidden;
  4103 + text-overflow: ellipsis;
  4104 + white-space: nowrap;
  4105 + width: 120px;
4102 4106 }
4103 4107  
4104 4108 #content .profiles-suggestions .profile-list .extra_info .profile-suggestion-connection-icon {
... ...