From 7c49ca6e3f69ab4ccd4d261c061ffa731927e79d Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 16 Aug 2017 12:34:56 +0200 Subject: [PATCH] Fix initial text size in code --- www/code/code.less | 1 + www/slide/slide.less | 1 + 2 files changed, 2 insertions(+) diff --git a/www/code/code.less b/www/code/code.less index 7c39ead2b..36883f377 100644 --- a/www/code/code.less +++ b/www/code/code.less @@ -30,6 +30,7 @@ body { min-width: 20%; max-width: 80%; resize: horizontal; + font-size: initial; } .CodeMirror.fullPage { //min-width: 100%; diff --git a/www/slide/slide.less b/www/slide/slide.less index 9e020f98f..8358f849a 100644 --- a/www/slide/slide.less +++ b/www/slide/slide.less @@ -36,6 +36,7 @@ h6 { font-size: 24px; } body { .CodeMirror { height: 100%; + font-size: initial; } .CodeMirror-focused .cm-matchhighlight { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFklEQVQI12NgYGBgkKzc8x9CMDAwAAAmhwSbidEoSQAAAABJRU5ErkJggg==);