diff options
author | connorshea <connor.james.shea@gmail.com> | 2016-03-17 02:29:47 +0300 |
---|---|---|
committer | connorshea <connor.james.shea@gmail.com> | 2016-03-17 04:23:23 +0300 |
commit | e106597e31490a0dcfa9ff0fe5f88b13c19fd766 (patch) | |
tree | 362a331550f3560d2c144073e5d5dd03ffd0c6e9 /lib | |
parent | 6349f4909ba9a1f56bd3f3951b48da7966eb6895 (diff) |
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')
-rw-r--r-- | lib/tasks/gemojione.rake | 1 |
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| |