Archived
remove ugly border around text cells (#4481)
This commit is contained in:
@@ -42,6 +42,10 @@ export function registerNotebookThemes(overrideEditorThemeSetting: boolean): IDi
|
|||||||
box-shadow: 0;
|
box-shadow: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.notebookEditor .notebook-cell.active:hover {
|
||||||
|
border-color: ${activeBorder};
|
||||||
|
}
|
||||||
|
|
||||||
.notebookEditor .notebook-cell:hover:not(.active) {
|
.notebookEditor .notebook-cell:hover:not(.active) {
|
||||||
box-shadow: ${lightBoxShadow};
|
box-shadow: ${lightBoxShadow};
|
||||||
}
|
}
|
||||||
@@ -98,13 +102,14 @@ export function registerNotebookThemes(overrideEditorThemeSetting: boolean): IDi
|
|||||||
// Standard notebook cell behavior
|
// Standard notebook cell behavior
|
||||||
collector.addRule(`
|
collector.addRule(`
|
||||||
.notebookEditor .notebook-cell {
|
.notebookEditor .notebook-cell {
|
||||||
border-color: ${inactiveBorder};
|
border-color: transparent;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
}
|
}
|
||||||
.notebookEditor .notebook-cell.active {
|
.notebookEditor .notebook-cell.active {
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
}
|
}
|
||||||
.notebookEditor .notebook-cell:hover {
|
.notebookEditor .notebook-cell:hover {
|
||||||
|
border-color: ${inactiveBorder};
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
}
|
}
|
||||||
`);
|
`);
|
||||||
|
|||||||
Reference in New Issue
Block a user