From ebd28f9548c9723fab12e3cb725db9a3b1530992 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Thu, 18 May 2017 14:55:03 -0400 Subject: [PATCH] spritesheets: no background-repeat --- stylus_helpers.styl | 1 + 1 file changed, 1 insertion(+) diff --git a/stylus_helpers.styl b/stylus_helpers.styl index 8229b07..93b3ae3 100644 --- a/stylus_helpers.styl +++ b/stylus_helpers.styl @@ -525,6 +525,7 @@ wfpl_spritesheets(hash) background-position: _pct_pos(x, w, sheet.w) _pct_pos(y, h, sheet.h) background-image: url((sheet['image'])) background-size: unit(sheet['w'] / w * 100, '%') auto + background-repeat: no-repeat padding-top: unit(h / w * 100, '%') selector_hover_before = selector + ":hover:before" if args.hover -- 1.7.10.4