From 451ecce4ab1e21e7f12b262441b9ec69cdf840f8 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Sat, 26 Aug 2017 12:36:08 +0300 Subject: [PATCH] ace: styles tweak --- public/app/core/components/code_editor/code_editor.ts | 2 +- public/sass/components/_code_editor.scss | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/public/app/core/components/code_editor/code_editor.ts b/public/app/core/components/code_editor/code_editor.ts index 5937961ceb8..7fe7a6ca25b 100644 --- a/public/app/core/components/code_editor/code_editor.ts +++ b/public/app/core/components/code_editor/code_editor.ts @@ -94,7 +94,7 @@ function link(scope, elem, attrs) { // disable depreacation warning codeEditor.$blockScrolling = Infinity; // Padding hacks - codeEditor.renderer.setScrollMargin(15, 15); + codeEditor.renderer.setScrollMargin(10, 11); codeEditor.renderer.setPadding(10); setThemeMode(theme); diff --git a/public/sass/components/_code_editor.scss b/public/sass/components/_code_editor.scss index 090fb69f820..ab5128f6f84 100644 --- a/public/sass/components/_code_editor.scss +++ b/public/sass/components/_code_editor.scss @@ -8,6 +8,9 @@ @include font-family-monospace(); font-size: 1rem; min-height: 2.60rem; + + @include border-radius($input-border-radius-sm); + border: $input-btn-border-width solid $input-border-color; } }