mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-08 02:43:11 -05:00
Settings editor - overlay trees so scrollable shadow is full width
This commit is contained in:
@@ -140,14 +140,22 @@
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
.settings-editor.search-mode > .settings-body .settings-tree-container .monaco-tree-wrapper,
|
||||
.settings-editor.search-mode > .settings-body > .settings-tree-container .setting-measure-container {
|
||||
width: calc(100% - 11px);
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.settings-editor > .settings-body .settings-tree-container .monaco-tree-wrapper,
|
||||
.settings-editor > .settings-body > .settings-tree-container .setting-measure-container {
|
||||
/** Match header padding, leave room for scrollbar on the outside */
|
||||
width: calc(100% - 11px);
|
||||
/** 11px for scrollbar + 208px for TOC margin */
|
||||
width: calc(100% - 219px);
|
||||
margin-left: 208px;
|
||||
}
|
||||
|
||||
|
||||
.settings-editor > .settings-body .settings-toc-container {
|
||||
position: absolute;
|
||||
width: 160px;
|
||||
margin-top: 16px;
|
||||
padding-left: 5px;
|
||||
@@ -161,10 +169,6 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
.settings-editor.search-mode > .settings-body .settings-tree-container {
|
||||
max-width: 1100px;
|
||||
}
|
||||
|
||||
.settings-editor.narrow > .settings-body .settings-toc-container {
|
||||
display: none;
|
||||
}
|
||||
@@ -199,7 +203,6 @@
|
||||
|
||||
.settings-editor > .settings-body .settings-tree-container {
|
||||
flex: 1;
|
||||
max-width: 792px;
|
||||
margin-right: 1px; /* So the item doesn't blend into the edge of the view container */
|
||||
margin-top: 14px;
|
||||
border-spacing: 0;
|
||||
|
||||
@@ -280,8 +280,8 @@ export class SettingsEditor2 extends BaseEditor {
|
||||
private createBody(parent: HTMLElement): void {
|
||||
const bodyContainer = DOM.append(parent, $('.settings-body'));
|
||||
|
||||
this.createTOC(bodyContainer);
|
||||
this.createSettingsTree(bodyContainer);
|
||||
this.createTOC(bodyContainer);
|
||||
|
||||
if (this.environmentService.appQuality !== 'stable') {
|
||||
this.createFeedbackButton(bodyContainer);
|
||||
|
||||
Reference in New Issue
Block a user