File tree Expand file tree Collapse file tree 2 files changed +5
-18
lines changed
src/vs/workbench/contrib/preferences/browser Expand file tree Collapse file tree 2 files changed +5
-18
lines changed Original file line number Diff line number Diff line change 95
95
.settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget .action-label .checked {
96
96
opacity : 1 ;
97
97
color : var (--vscode-settings-headerForeground );
98
+ }
99
+ .settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget .action-label .checked : not (: focus ) {
98
100
border-bottom-color : var (--vscode-settings-headerForeground );
99
101
}
100
102
112
114
/* padding must be on action-label because it has the bottom-border, because that's where the .checked class is */
113
115
}
114
116
115
- .settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget > .monaco-action-bar .action-item .focused {
116
- outline-offset : -1.5px ;
117
- }
118
-
119
117
.settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget > .monaco-action-bar .action-item .action-label {
120
118
text-transform : none;
121
119
font-size : 13px ;
130
128
}
131
129
132
130
.settings-editor > .settings-header > .settings-header-controls .settings-tabs-widget > .monaco-action-bar .action-item .action-label : not (.checked ): not (: focus ) {
133
- /* Add an extra pixel due to it not getting the outline */
134
- padding -bottom: 8 px ;
131
+ /* Still maintain a border for alignment, but keep it transparent */
132
+ border -bottom: 1 px solid transparent ;
135
133
}
136
134
137
135
.settings-editor > .settings-body {
202
200
outline : 1px solid var (--vscode-settings-focusedRowBorder );
203
201
}
204
202
205
- .settings-editor .mid-width > .settings-body .settings-tree-container .settings-editor-tree > .monaco-scrollable-element > .shadow .top {
206
- left : 0 ;
207
- width : calc (100% - 48px );
208
- margin-left : 24px ;
209
- }
210
- .settings-editor .mid-width > .settings-body .settings-tree-container .settings-editor-tree > .monaco-scrollable-element > .shadow .top .top-left-corner {
211
- width : 24px ;
212
- margin-left : 0px ;
213
- }
214
203
.settings-editor > .settings-body .settings-tree-container .settings-editor-tree > .monaco-scrollable-element > .shadow .top {
215
204
z-index : 11 ;
216
205
}
Original file line number Diff line number Diff line change @@ -104,7 +104,6 @@ export class SettingsEditor2 extends EditorPane {
104
104
private static EDITOR_MIN_WIDTH : number = 500 ;
105
105
// Below NARROW_TOTAL_WIDTH, we only render the editor rather than the ToC.
106
106
private static NARROW_TOTAL_WIDTH : number = SettingsEditor2 . TOC_RESET_WIDTH + SettingsEditor2 . EDITOR_MIN_WIDTH ;
107
- private static MEDIUM_TOTAL_WIDTH : number = 1000 ;
108
107
109
108
private static SUGGESTIONS : string [ ] = [
110
109
`@${ MODIFIED_SETTING_TAG } ` ,
@@ -442,7 +441,6 @@ export class SettingsEditor2 extends EditorPane {
442
441
const monacoWidth = innerWidth - 10 - this . countElement . clientWidth - this . controlsElement . clientWidth - 12 ;
443
442
this . searchWidget . layout ( new DOM . Dimension ( monacoWidth , 20 ) ) ;
444
443
445
- this . rootElement . classList . toggle ( 'mid-width' , dimension . width < SettingsEditor2 . MEDIUM_TOTAL_WIDTH && dimension . width >= SettingsEditor2 . NARROW_TOTAL_WIDTH ) ;
446
444
this . rootElement . classList . toggle ( 'narrow-width' , dimension . width < SettingsEditor2 . NARROW_TOTAL_WIDTH ) ;
447
445
}
448
446
@@ -1675,7 +1673,7 @@ export class SettingsEditor2 extends EditorPane {
1675
1673
this . splitView . resizeView ( 0 , SettingsEditor2 . TOC_RESET_WIDTH ) ;
1676
1674
}
1677
1675
this . splitView . style ( {
1678
- separatorBorder : firstViewVisible ? this . theme . getColor ( settingsSashBorder ) ?? Color . transparent : Color . transparent
1676
+ separatorBorder : firstViewVisible ? this . theme . getColor ( settingsSashBorder ) ! : Color . transparent
1679
1677
} ) ;
1680
1678
}
1681
1679
You can’t perform that action at this time.
0 commit comments