Skip to content

Commit

Permalink
[#2720] Add padding around gravatars on user listing
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Jul 25, 2012
1 parent 14b6c1f commit 1b41a9b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ckan/public/base/css/main.css
Expand Up @@ -4730,7 +4730,8 @@ ul.icons li .icon-large:before {
line-height: 1.3em;
margin: 5px 0;
}
.media-image {
.media-image,
.media .gravatar {
position: relative;
float: left;
margin-right: 10px;
Expand Down
3 changes: 2 additions & 1 deletion ckan/public/base/less/media.less
Expand Up @@ -20,7 +20,8 @@
margin: 5px 0;
}

.media-image {
.media-image,
.media .gravatar {
position: relative;
float: left;
margin-right: 10px;
Expand Down
2 changes: 1 addition & 1 deletion ckan/templates/user/list.html
Expand Up @@ -12,7 +12,7 @@
<h1 class="page-heading">{{ _('Users') }}</h1>
<table class="table table-bordered">
{% for user in c.page.items %}
<tr><td>{{ h.linked_user(user['name'], maxlength=20) }}</td></tr>
<tr><td class="media">{{ h.linked_user(user['name'], maxlength=20) }}</td></tr>
{% endfor %}
</table>
</div>
Expand Down

0 comments on commit 1b41a9b

Please sign in to comment.