Fixes #198 Squished avatars
Refactor all avatar views to use a shared partial, then change it to a background image. Requires allowing unsafe-inline styles in the CSP.
This commit is contained in:
parent
6509561795
commit
20baa795ad
10 changed files with 48 additions and 42 deletions
|
@ -41,7 +41,7 @@
|
|||
timestamp: moment(this.model.get('received_at')).fromNow(),
|
||||
sender: (contact && contact.getTitle()) || '',
|
||||
avatar_url: (contact && contact.getAvatarUrl())
|
||||
})
|
||||
}, this.render_partials())
|
||||
);
|
||||
|
||||
twemoji.parse(this.el, { base: '/images/twemoji/', size: 16 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue