Fix regression where border line between editor and output was lost (#3915)

This commit is contained in:
Kevin Cunnane
2019-02-05 21:21:59 -08:00
committed by GitHub
parent a2c7377134
commit d74e5e6457

View File

@@ -109,8 +109,18 @@ export function registerNotebookThemes(overrideEditorThemeSetting: boolean): IDi
}
`);
// Ensure there's always a line between editor and output
collector.addRule(`
.notebookEditor .notebook-cell.active code-component {
border-color: ${inactiveBorder};
border-width: 0px 0px 1px 0px;
border-style: solid;
border-radius: 0;
}
`);
if (addBorderToInactiveCodeCells) {
// Sets a border for the editor component if we don't have a custom color for editor instead
// Sets a border for the editor component if we don't have a custom line color for editor instead
collector.addRule(`
.notebookEditor .notebook-cell code-component {
border-color: ${inactiveBorder};
@@ -118,10 +128,6 @@ export function registerNotebookThemes(overrideEditorThemeSetting: boolean): IDi
border-style: solid;
border-radius: 3px 3px 3px 3px;
}
.notebookEditor .notebook-cell.active code-component {
border-width: 0px 0px 1px 0px;
border-radius: 0px;
}
.notebookEditor .notebook-cell:hover code-component {
border-width: 0px 0px 1px 0px;
border-radius: 0px;