summaryrefslogtreecommitdiff
path: root/lib/tasks/gemojione.rake
diff options
context:
space:
mode:
authorconnorshea <connor.james.shea@gmail.com>2016-03-16 17:29:47 -0600
committerconnorshea <connor.james.shea@gmail.com>2016-03-16 19:23:23 -0600
commite106597e31490a0dcfa9ff0fe5f88b13c19fd766 (patch)
tree362a331550f3560d2c144073e5d5dd03ffd0c6e9 /lib/tasks/gemojione.rake
parent6349f4909ba9a1f56bd3f3951b48da7966eb6895 (diff)
downloadgitlab-ce-e106597e31490a0dcfa9ff0fe5f88b13c19fd766.tar.gz
Follow the CSS Style Guide rules for unitless zero values.
Updated Emoji Rake task to conform to style guide. Discussed in #14299. [ci skip]
Diffstat (limited to 'lib/tasks/gemojione.rake')
-rw-r--r--lib/tasks/gemojione.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tasks/gemojione.rake b/lib/tasks/gemojione.rake
index ebe301c1fc7..cfaf4a129b1 100644
--- a/lib/tasks/gemojione.rake
+++ b/lib/tasks/gemojione.rake
@@ -47,6 +47,7 @@ namespace :gemojione do
# let's simplify it
system(%Q(sed -i '' "s/width: #{SIZE}px; height: #{SIZE}px; background: image-url('emoji.png')/background-position:/" #{style_path}))
system(%Q(sed -i '' "s/ no-repeat//" #{style_path}))
+ system(%Q(sed -i '' "s/ 0px/ 0/" #{style_path}))
# Append a generic rule that applies to all Emojis
File.open(style_path, 'a') do |f|