diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 50165bd..a9ab180 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1420,12 +1420,12 @@ module ApplicationHelper end def profile_suggestion_profile_connections(suggestion) - profiles = suggestion.profile_connections.first(5).map do |profile| + profiles = suggestion.profile_connections.first(4).map do |profile| link_to(profile_image(profile, :icon), profile.url, :class => 'profile-suggestion-connection-icon', :title => profile.name) end controller_target = suggestion.suggestion_type == 'Person' ? :friends : :memberships - profiles << link_to(" +#{suggestion.profile_connections.count - 5}", :controller => controller_target, :action => :connections, :id => suggestion.suggestion_id) if suggestion.profile_connections.count > 5 + profiles << link_to(" +#{suggestion.profile_connections.count - 4}", :controller => controller_target, :action => :connections, :id => suggestion.suggestion_id) if suggestion.profile_connections.count > 4 content_tag(:div, profiles.join , :class => 'profile-connections') end diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index c7a8bdb..0046be4 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -4102,8 +4102,6 @@ h1#agenda-title { margin-left: 2px; margin-top: 3px; overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; width: 120px; } -- libgit2 0.21.2