Skip to content

Commit

Permalink
fix new icon sizes
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Gonzalez <[email protected]>
  • Loading branch information
XzAeRo committed Apr 16, 2020
1 parent b8f0dd8 commit 0955c02
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
10 changes: 8 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@ gulp.task('js', function() {
.pipe(gulp.dest('src/widget/assets/js'));
});

gulp.task('less', function () {
gulp.task('less-min', function () {
return gulp.src('./src/widget/assets/css/*.less')
.pipe(less())
.pipe(minifyCSS())
.pipe(rename({suffix: '.min'}))
.pipe(gulp.dest('./src/widget/assets/css'));
});

gulp.task('default', ['js', 'less']);
gulp.task('less', function () {
return gulp.src('./src/widget/assets/css/*.less')
.pipe(less())
.pipe(gulp.dest('./src/widget/assets/css'));
});

gulp.task('default', ['js', 'less', 'less-min']);
2 changes: 1 addition & 1 deletion src/widget/assets/css/upload-kit.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
.upload-kit .upload-kit-item .remove {
display: none;
cursor: pointer;
font-size: 3em;
font-size: 2.6em;
text-align: center;
top: 50%;
left: 50%;
Expand Down
2 changes: 1 addition & 1 deletion src/widget/assets/css/upload-kit.less
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
.remove{
display: none;
cursor: pointer;
font-size: 3em;
font-size: 2.6em;
text-align: center;
top: 50%;
left: 50%;
Expand Down
2 changes: 1 addition & 1 deletion src/widget/assets/css/upload-kit.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0955c02

Please sign in to comment.