mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix emoji size in email notifications
This commit is contained in:
parent
b3965eb069
commit
addd58d961
@ -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…
Reference in New Issue
Block a user