From 3f892e04a5a696383562d027ae258d1f41dad014 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 30 Nov 2017 17:24:43 +0100 Subject: [PATCH 1/2] fix codemirror overflow css --- www/slide/app-slide.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/slide/app-slide.less b/www/slide/app-slide.less index a53a8f85e..20c5a1830 100644 --- a/www/slide/app-slide.less +++ b/www/slide/app-slide.less @@ -72,12 +72,12 @@ h6 { font-size: 24px; } overflow: hidden; .CodeMirror { resize: none; - width: 100vw; + //width: 100vw; } &.cp-app-slide-preview { .CodeMirror { //resize: horizontal; - width: 50vw; + //width: 50vw; } } } From aca83ce72aff98b7af8f622ce75895ca0b367212 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 30 Nov 2017 17:25:05 +0100 Subject: [PATCH 2/2] expose self as global for linter --- .jshintrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.jshintrc b/.jshintrc index 4928c524d..aeddcda04 100644 --- a/.jshintrc +++ b/.jshintrc @@ -19,5 +19,8 @@ "require", "module", "__dirname" - ] + ], + "globals": { + "self": true + } }