From 905ad826274964f5b8f1369440825669b991e00c Mon Sep 17 00:00:00 2001 From: Michael Colavita Date: Sat, 7 May 2016 15:24:43 -0400 Subject: [PATCH] Set default height and width for SVGs --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 9024722..9b5b580 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -21,7 +21,7 @@ gulp.task('style', function() { use: [ autoprefixer(), axis(), - poststylus([postcssSVG({ paths: ['./src/svg' ]})]) + poststylus([postcssSVG({ paths: ['./src/svg' ], defaults: "[height]:100%; [width]:100%;" })]) ] })) .pipe(gulp.dest('dist/'))