Skip to content

Commit

Permalink
Merge pull request #65 from nextcloud/smaller-avatars
Browse files Browse the repository at this point in the history
Make avatars smaller to fit inline [nextcloud/server#2012]
  • Loading branch information
eppfel authored Nov 7, 2016
2 parents c81665f + 66fd357 commit 34572f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/activitytabview.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@
$el.find('.avatar').each(function() {
var element = $(this);
if (element.data('user-display-name')) {
element.avatar(element.data('user'), 28, undefined, false, undefined, element.data('user-display-name'));
element.avatar(element.data('user'), 21, undefined, false, undefined, element.data('user-display-name'));
} else {
element.avatar(element.data('user'), 28);
element.avatar(element.data('user'), 21);
}
});
$el.find('.has-tooltip').tooltip({
Expand Down
4 changes: 2 additions & 2 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,9 @@ $(function(){
$element.find('.avatar').each(function() {
var element = $(this);
if (element.data('user-display-name')) {
element.avatar(element.data('user'), 28, undefined, false, undefined, element.data('user-display-name'));
element.avatar(element.data('user'), 21, undefined, false, undefined, element.data('user-display-name'));
} else {
element.avatar(element.data('user'), 28);
element.avatar(element.data('user'), 21);
}
});

Expand Down

0 comments on commit 34572f8

Please sign in to comment.