From 26dacde9591b4994529d8f536712b797cef5a36f Mon Sep 17 00:00:00 2001 From: Pedro Ferreira Date: Fri, 12 Apr 2019 11:45:44 +0200 Subject: Fix toolbar day mode Also moved the code to SCSS Signed-off-by: Pedro Ferreira --- public/js/lib/editor/index.js | 2 ++ public/js/lib/editor/toolbar.html | 30 +++++++++++++++--------------- 2 files changed, 17 insertions(+), 15 deletions(-) (limited to 'public/js') diff --git a/public/js/lib/editor/index.js b/public/js/lib/editor/index.js index c48faea2..8553caa9 100644 --- a/public/js/lib/editor/index.js +++ b/public/js/lib/editor/index.js @@ -3,6 +3,8 @@ import config from './config' import statusBarTemplate from './statusbar.html' import toolBarTemplate from './toolbar.html' +import '../../../css/ui/toolbar.css' + /* config section */ const isMac = CodeMirror.keyMap.default === CodeMirror.keyMap.macDefault const defaultEditorMode = 'gfm' diff --git a/public/js/lib/editor/toolbar.html b/public/js/lib/editor/toolbar.html index ea4dc572..dc5b8ad4 100644 --- a/public/js/lib/editor/toolbar.html +++ b/public/js/lib/editor/toolbar.html @@ -1,49 +1,49 @@