From 6dc23dd71c30aafedc7e07ef83ad7b476ca81d20 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Wed, 14 Feb 2018 18:48:08 -0700 Subject: [PATCH] fix for scrollbars --- themes/grav/scss/template/_editor.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/themes/grav/scss/template/_editor.scss b/themes/grav/scss/template/_editor.scss index d966748f..c697a6d7 100644 --- a/themes/grav/scss/template/_editor.scss +++ b/themes/grav/scss/template/_editor.scss @@ -4,8 +4,14 @@ height: 300px; } + .CodeMirror { + .CodeMirror-vscrollbar, .CodeMirror-hscrollbar { + z-index: 1; + } + } + .CodeMirror-scroll { - margin-right: -36px; + //margin-right: -36px; position: static; // hide native scrollbar at the bottom