Skip to content

Commit 211aa98

Browse files
committed
fix bug
1 parent 8b18206 commit 211aa98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/css_sprite/sprite.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,10 @@ def output_less(directory, results)
256256
results.each do |result|
257257
f.print "#{class_name(result[:name])} \{\n"
258258
f.print " background-position: #{-result[:x]}px #{-result[:y]}px;\n"
259-
if (result[:width]!=@default_width || result[:height]!=@default_height)
259+
#if (result[:width]!=@default_width || result[:height]!=@default_height)
260260
f.print " width: #{result[:width]}px;\n" if result[:width]
261261
f.print " height: #{result[:height]}px;\n" if result[:height]
262-
end
262+
#end
263263
f.print " \}\n"
264264
end
265265
end

0 commit comments

Comments
 (0)