From 9730b63b1fa6516661fd9fdb4a3f718250023f62 Mon Sep 17 00:00:00 2001 From: Jesus Herman Date: Fri, 4 Dec 2015 16:39:20 +0100 Subject: [PATCH] sidebar content padding & compiling issue --- css/editor.css | 3 ++- gulpfile.js | 4 ++-- scss/partials/_legacy.scss | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/css/editor.css b/css/editor.css index 4a4bb68..bb52cea 100644 --- a/css/editor.css +++ b/css/editor.css @@ -46,7 +46,8 @@ body { border: 1px solid #DDDDDD; border-radius: 4px; position: relative; - word-wrap: break-word; } + word-wrap: break-word; + padding-left: 220px; } .edit .demo:after { background-color: #F5F5F5; diff --git a/gulpfile.js b/gulpfile.js index 330352e..a3299db 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -4,11 +4,11 @@ var gulp = require('gulp'); var sass = require('gulp-sass'); gulp.task('sass', function () { - gulp.src('scss/*.scss') + gulp.src('scss/**/*.scss') .pipe(sass().on('error', sass.logError)) .pipe(gulp.dest('css')); }); gulp.task('sass:watch', function () { - gulp.watch('scss/*.scss', ['sass']); + gulp.watch('scss/**/*.scss', ['sass']); }); diff --git a/scss/partials/_legacy.scss b/scss/partials/_legacy.scss index da70317..400108c 100644 --- a/scss/partials/_legacy.scss +++ b/scss/partials/_legacy.scss @@ -43,8 +43,10 @@ body { position:relative; word-wrap: break-word; padding-left: 220px; + } + .edit .demo:after { background-color: #F5F5F5; border: 1px solid #DDDDDD;