Commit 12f1d2a58e0dcce80fe1a9501c8648a173829957
1 parent
87caeeb3
Exists in
master
and in
27 other branches
profile-suggestions: more style improvements
Showing
3 changed files
with
15 additions
and
8 deletions
Show diff stats
app/views/blocks/communities.html.erb
... | ... | @@ -12,6 +12,8 @@ |
12 | 12 | <div class='profiles-suggestions'> |
13 | 13 | <%= render :partial => 'shared/profile_suggestions_list', :locals => { :suggestions => suggestions, :collection => :communities_suggestions } %> |
14 | 14 | </div> |
15 | - <%= link_to _('See more suggestions'), profile.communities_suggestions_url, :class => 'more-suggestions' %> | |
15 | + <div class='more-suggestions'> | |
16 | + <%= link_to _('See more suggestions'), profile.communities_suggestions_url %> | |
17 | + </div> | |
16 | 18 | </div> |
17 | 19 | <% end %> | ... | ... |
plugins/people_block/views/blocks/friends.html.erb
... | ... | @@ -6,6 +6,8 @@ |
6 | 6 | <div class='profiles-suggestions'> |
7 | 7 | <%= render :partial => 'shared/profile_suggestions_list', :locals => { :suggestions => suggestions, :collection => :friends_suggestions } %> |
8 | 8 | </div> |
9 | - <%= link_to _('See more suggestions'), profile.people_suggestions_url, :class => 'more-suggestions' %> | |
9 | + <div class='more-suggestions'> | |
10 | + <%= link_to _('See more suggestions'), profile.people_suggestions_url %> | |
11 | + </div> | |
10 | 12 | </div> |
11 | 13 | <% end %> | ... | ... |
public/stylesheets/application.css
... | ... | @@ -1680,7 +1680,7 @@ a.button.disabled, input.disabled { |
1680 | 1680 | |
1681 | 1681 | #content .block-footer-content .profiles-suggestions a.accept-suggestion { |
1682 | 1682 | padding-bottom: 3px; |
1683 | - display: block; | |
1683 | + display: inline-block; | |
1684 | 1684 | color: #333; |
1685 | 1685 | font-size: 11px |
1686 | 1686 | } |
... | ... | @@ -1715,12 +1715,13 @@ a.button.disabled, input.disabled { |
1715 | 1715 | font-weight: bold; |
1716 | 1716 | } |
1717 | 1717 | |
1718 | -#content .communities-block .profiles-suggestions .profile-list .extra_info { | |
1719 | - z-index: 10; | |
1718 | +.more-suggestions { | |
1719 | + text-align: center; | |
1720 | 1720 | } |
1721 | 1721 | |
1722 | -#content .communities-block .block-footer-content a.more-suggestions { | |
1723 | - position: relative; | |
1722 | +.profiles-suggestions .profile-list .extra_info { | |
1723 | + z-index: 10; | |
1724 | + display: inline-block; | |
1724 | 1725 | } |
1725 | 1726 | |
1726 | 1727 | .suggestions-block .block-subtitle { |
... | ... | @@ -4097,6 +4098,7 @@ h1#agenda-title { |
4097 | 4098 | |
4098 | 4099 | .tag-connections { |
4099 | 4100 | margin-left: 2px; |
4101 | + margin-top: 3px; | |
4100 | 4102 | } |
4101 | 4103 | |
4102 | 4104 | #content .profiles-suggestions .profile-list .extra_info .profile-suggestion-connection-icon { |
... | ... | @@ -4129,9 +4131,10 @@ h1#agenda-title { |
4129 | 4131 | border: 2px solid transparent; |
4130 | 4132 | } |
4131 | 4133 | |
4132 | -.common-profile-list-block .profiles-suggestions .profile-list li { | |
4134 | +#content .common-profile-list-block .profiles-suggestions .profile-list li { | |
4133 | 4135 | width: 100%; |
4134 | 4136 | max-width: 100%; |
4137 | + padding: 3px 0; | |
4135 | 4138 | } |
4136 | 4139 | |
4137 | 4140 | .common-profile-list-block .profiles-suggestions .profile-list li img { | ... | ... |