Skip to content

Commit

Permalink
Make avatars smaller to fit inline [nextcloud/server#2012]
Browse files Browse the repository at this point in the history
Signed-off-by: Felix A. Epp <work@felixepp.de>
  • Loading branch information
eppfel committed Nov 6, 2016
1 parent c81665f commit 66fd357
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 66fd357

Please sign in to comment.