diff --git a/r2/r2/lib/nymph.py b/r2/r2/lib/nymph.py index b8dace04d..3a796ae49 100644 --- a/r2/r2/lib/nymph.py +++ b/r2/r2/lib/nymph.py @@ -157,7 +157,8 @@ def _rewrite_css(css_filename, sprite_path, images): return ''.join(( 'background-image: url(%s);' % sprite_path, - 'background-position: -%dpx -%dpx;' % position + 'background-position: -%dpx -%dpx;' % position, + 'background-repeat: %s;' % ('repeat' if should_stretch else 'no-repeat'), )) # read in the css and replace sprite references