Commit 96a1fad13b6e6a6b673dcac1099109d1a155deb9
Committed by
Joenio Costa
1 parent
17a72997
Exists in
stable-spb-1.4
and in
7 other branches
Enable bigger profile image on members list
(cherry picked from commit 370e1d19dbbd0d617946b9394afe62f84743c552)
Showing
2 changed files
with
31 additions
and
1 deletions
Show diff stats
app/views/profile/_profile_members_list.html.erb
@@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
9 | </div> | 9 | </div> |
10 | <ul class="profile-list-<%= role %>" > | 10 | <ul class="profile-list-<%= role %>" > |
11 | <% users.each do |u| %> | 11 | <% users.each do |u| %> |
12 | - <%= profile_image_link(u) %> | 12 | + <%= profile_image_link(u, :thumb) %> |
13 | <% end %> | 13 | <% end %> |
14 | </ul> | 14 | </ul> |
15 | 15 |
public/designs/themes/noosfero/style.css
@@ -18,3 +18,33 @@ | @@ -18,3 +18,33 @@ | ||
18 | #buddy-list #environment-logo { | 18 | #buddy-list #environment-logo { |
19 | background-color: #BBB; | 19 | background-color: #BBB; |
20 | } | 20 | } |
21 | + | ||
22 | +/* Members list*/ | ||
23 | +.profile-members-tabs-container .ui-corner-all{ | ||
24 | + padding-bottom: 10px; | ||
25 | +} | ||
26 | + | ||
27 | +#content #members-tab ul.profile-list-members, | ||
28 | +#content #admins-tab ul.profile-list-admins{ | ||
29 | + margin: 10px auto; | ||
30 | +} | ||
31 | + | ||
32 | +.common-profile-list-block .profile-image{ | ||
33 | + height: auto; | ||
34 | +} | ||
35 | + | ||
36 | +.common-profile-list-block .profile-image img{ | ||
37 | + max-height: 80px; | ||
38 | + max-width: 80px; | ||
39 | +} | ||
40 | + | ||
41 | +.box-1 .common-profile-list-block span{ | ||
42 | + width: 84px; | ||
43 | +} | ||
44 | + | ||
45 | +.box-1 .common-profile-list-block span.fn { | ||
46 | + margin-top: 5px; | ||
47 | + height: 25px; | ||
48 | + width: 80px; | ||
49 | +} | ||
50 | + |