mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 17:23:25 -05:00
adjust css to pin toolbar (#11894)
This commit is contained in:
@@ -183,7 +183,12 @@ export function registerNotebookThemes(overrideEditorThemeSetting: boolean, conf
|
||||
// Markdown editor toolbar
|
||||
const toolbarBackgroundColor = theme.getColor(toolbarBackground);
|
||||
if (toolbarBackgroundColor) {
|
||||
collector.addRule(`markdown-toolbar-component { background: ${toolbarBackgroundColor};}`);
|
||||
collector.addRule(`markdown-toolbar-component {
|
||||
background: ${toolbarBackgroundColor};
|
||||
position: sticky;
|
||||
top: -16px;
|
||||
z-index: 1;
|
||||
}`);
|
||||
}
|
||||
const toolbarIconColor = theme.getColor(toolbarIcon);
|
||||
if (toolbarIconColor) {
|
||||
|
||||
Reference in New Issue
Block a user