Skip to content

Commit

Permalink
Adjust Settings editor narrow total width
Browse files Browse the repository at this point in the history
Fixes #145243
Mitigates #143690
  • Loading branch information
rzhao271 committed Mar 17, 2022
1 parent c9271ed commit 16ec439
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -96,7 +96,8 @@ export class SettingsEditor2 extends EditorPane {
private static TOC_MIN_WIDTH: number = 100;
private static TOC_RESET_WIDTH: number = 200;
private static EDITOR_MIN_WIDTH: number = 500;
private static NARROW_TOTAL_WIDTH: number = SettingsEditor2.TOC_MIN_WIDTH + SettingsEditor2.EDITOR_MIN_WIDTH;
// Below NARROW_TOTAL_WIDTH, we only render the editor rather than the ToC.
private static NARROW_TOTAL_WIDTH: number = SettingsEditor2.TOC_RESET_WIDTH + SettingsEditor2.EDITOR_MIN_WIDTH;
private static MEDIUM_TOTAL_WIDTH: number = 1000;

private static readonly SUGGESTIONS: string[] = [
Expand Down

0 comments on commit 16ec439

Please sign in to comment.