We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b18206 commit 211aa98Copy full SHA for 211aa98
lib/css_sprite/sprite.rb
@@ -256,10 +256,10 @@ def output_less(directory, results)
256
results.each do |result|
257
f.print "#{class_name(result[:name])} \{\n"
258
f.print " background-position: #{-result[:x]}px #{-result[:y]}px;\n"
259
- if (result[:width]!=@default_width || result[:height]!=@default_height)
+ #if (result[:width]!=@default_width || result[:height]!=@default_height)
260
f.print " width: #{result[:width]}px;\n" if result[:width]
261
f.print " height: #{result[:height]}px;\n" if result[:height]
262
- end
+ #end
263
f.print " \}\n"
264
end
265
0 commit comments