Merge pull request #34 from ivandiazwm/master

Fix #4 and #18
This commit is contained in:
Ivan Diaz 2017-06-20 21:52:03 +02:00 committed by GitHub
commit 9e3e10c9ee
3 changed files with 7 additions and 3 deletions

View File

@ -4,11 +4,12 @@ var gulp = require('gulp');
var runSequence = require('run-sequence');
gulp.task('prod', ['clean'], function(callback) {
process.env.NODE_ENV = 'production';
callback = callback || function() {};
global.isProd = true;
runSequence(['sass', 'imagemin', 'browserify', 'copyFonts', 'copyIndex', 'copyIcons'], callback);
});
});

View File

@ -48,7 +48,7 @@ class AdminPanelMenu extends React.Component {
getGroups() {
return this.getRoutes().map((group) => {
return {
content: group.groupName,
content: <span className="admin-panel-menu__item-text">{group.groupName}</span>,
icon: group.icon
};
});

View File

@ -1,3 +1,6 @@
.admin-panel-menu {
&__item-text {
display: inline-flex;
}
}