Set the size of emoji to be 20x20

Forgot they were so big!
This commit is contained in:
Robert Speicher 2012-09-05 16:14:54 -04:00
parent 67a6a0b29b
commit b3bbf53e9b
2 changed files with 7 additions and 1 deletions

View file

@ -95,7 +95,7 @@ module Gitlab
text = text.gsub(EMOJI_PATTERN) do |match|
if valid_emoji?($2)
helper.image_tag("#{$2}.png", class: 'emoji', title: $1, alt: $1)
helper.image_tag("#{$2}.png", size: "20x20", class: 'emoji', title: $1, alt: $1)
else
match
end