remove ugly border around text cells (#4481)

This commit is contained in:
Chris LaFreniere
2019-03-13 19:24:39 -07:00
committed by GitHub
parent 34d36c1de1
commit 5774b1f69a

View File

@@ -42,6 +42,10 @@ export function registerNotebookThemes(overrideEditorThemeSetting: boolean): IDi
box-shadow: 0;
}
.notebookEditor .notebook-cell.active:hover {
border-color: ${activeBorder};
}
.notebookEditor .notebook-cell:hover:not(.active) {
box-shadow: ${lightBoxShadow};
}
@@ -98,13 +102,14 @@ export function registerNotebookThemes(overrideEditorThemeSetting: boolean): IDi
// Standard notebook cell behavior
collector.addRule(`
.notebookEditor .notebook-cell {
border-color: ${inactiveBorder};
border-color: transparent;
border-width: 1px;
}
.notebookEditor .notebook-cell.active {
border-width: 1px;
}
.notebookEditor .notebook-cell:hover {
border-color: ${inactiveBorder};
border-width: 1px;
}
`);