Skip to content

Commit 4591f46

Browse files
committed
fix: cssnano breaking zindex
1 parent cb508fe commit 4591f46

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dist/angular-toastr.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ gulp.task('less-prod', function() {
2121
.pipe(less())
2222
.pipe(rename('angular-toastr.css'))
2323
.pipe(gulp.dest('dist'))
24-
.pipe(cssnano())
24+
.pipe(cssnano({
25+
zindex: false
26+
}))
2527
.pipe(rename('angular-toastr.min.css'))
2628
.pipe(gulp.dest('dist'));
2729
});

0 commit comments

Comments
 (0)