From 3310b02352322e54f4c6af64e365ffe9525c2643 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Thu, 8 May 2014 21:06:08 +0100 Subject: [PATCH] Fixed horizontal scrollbar Fixed #265 --- app/css/app.css | 1 + app/js/background.js | 2 +- gulpfile.js | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/css/app.css b/app/css/app.css index e5cced09..93dd8b10 100644 --- a/app/css/app.css +++ b/app/css/app.css @@ -2231,6 +2231,7 @@ img.chat_modal_participant_photo { transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; -webkit-user-select: text; + word-wrap: break-word; } .emoji-wysiwyg-editor img { width: 20px; diff --git a/app/js/background.js b/app/js/background.js index 1c2ba59d..9c0889dc 100644 --- a/app/js/background.js +++ b/app/js/background.js @@ -8,7 +8,7 @@ chrome.app.runtime.onLaunched.addListener(function(launchData) { chrome.app.window.create('../index.html', { bounds: { - width: 900, + width: 1000, height: 700 }, minWidth: 320, diff --git a/gulpfile.js b/gulpfile.js index 87af350e..06787180 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -3,7 +3,7 @@ var es = require('event-stream'); var pj = require('./package.json'); var $ = require('gulp-load-plugins')(); var concat = require('gulp-concat'); - +var path = require('path'); // The generated file is being created at src // so it can be fetched by usemin. @@ -63,7 +63,7 @@ gulp.task('copy', function() { }); gulp.task('compress-dist', ['add-csp'], function() { - return gulp.src('./**/*' , {cwd: process.cwd() + '/dist'}) + return gulp.src('**/*', {cwd: path.join(process.cwd(), '/dist')}) .pipe($.zip('webogram_v' + pj.version + '.zip')) .pipe(gulp.dest('releases')); });