mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-06 20:16:00 -04:00
fix emoji size in email notifications
This commit is contained in:
parent
b3965eb069
commit
addd58d961
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ module Email
|
|||
@fragment.css('img').each do |img|
|
||||
next if img['class'] == 'site-logo'
|
||||
|
||||
if img['class'] == "emoji" || img['src'] =~ /plugins\/emoji/
|
||||
if img['class'] == "emoji" || img['src'] =~ /(plugins|images)\/emoji/
|
||||
img['width'] = 20
|
||||
img['height'] = 20
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue