Stop cell content from moving around on hover (#4202)

This commit is contained in:
Chris LaFreniere
2019-02-27 01:01:20 +00:00
committed by Kevin Cunnane
parent d5754c00e2
commit 4da322a03f

View File

@@ -14,7 +14,7 @@ export function registerNotebookThemes(overrideEditorThemeSetting: boolean): IDi
return registerThemingParticipant((theme: ITheme, collector: ICssStyleCollector) => { return registerThemingParticipant((theme: ITheme, collector: ICssStyleCollector) => {
let lightBoxShadow = '0px 4px 6px 0px rgba(0, 0, 0, 0.14)'; let lightBoxShadow = '0px 4px 6px 0px rgba(0, 0, 0, 0.14)';
let darkBoxShadow = '0 4px 6px 0px rgba(0, 0, 0, 1)'; let darkBoxShadow = '0px 4px 6px 0px rgba(0, 0, 0, 1)';
let addBorderToInactiveCodeCells = true; let addBorderToInactiveCodeCells = true;
// Active border // Active border
@@ -99,7 +99,7 @@ export function registerNotebookThemes(overrideEditorThemeSetting: boolean): IDi
collector.addRule(` collector.addRule(`
.notebookEditor .notebook-cell { .notebookEditor .notebook-cell {
border-color: ${inactiveBorder}; border-color: ${inactiveBorder};
border-width: 0px; border-width: 1px;
} }
.notebookEditor .notebook-cell.active { .notebookEditor .notebook-cell.active {
border-width: 1px; border-width: 1px;