Stop Showing Overview Rulers in Notebooks (#3226)

* Stop showing decorationsOverviewRuler in notebook code cells by setting hidden visibility in css

* Also change overviewRuler options in IEdtorOptions for safety

* address CR comments in css file
This commit is contained in:
Chris LaFreniere
2018-11-15 11:47:03 -08:00
committed by GitHub
parent 63cf0f1548
commit 6b31f2b3f2
2 changed files with 8 additions and 0 deletions

View File

@@ -70,6 +70,9 @@ export class QueryTextEditor extends BaseTextEditor {
options.minimap = {
enabled: false
};
options.overviewRulerLanes = 0;
options.overviewRulerBorder = false;
options.hideCursorInOverviewRuler = true;
}
return options;
}

View File

@@ -25,6 +25,11 @@ code-component .toolbarIconRun {
background-image: url('../media/dark/execute_cell_inverse.svg');
}
/* overview ruler */
code-component .monaco-editor .decorationsOverviewRuler {
visibility: hidden;
}
code-component .carbon-taskbar .icon {
background-size: 20px;
width: 40px;