Skip to content

Commit e31a87b

Browse files
authored
Welcome Page + Standard Chat Panel should not have 50 / 50 split (fix microsoft/vscode-internalbacklog#5553) (microsoft#253611)
* `Welcome Page + Standard Chat Panel` should not have 50 / 50 split (fix microsoft/vscode-internalbacklog#5553) * round
1 parent 394e0df commit e31a87b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/browser/layout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2956,7 +2956,7 @@ class LayoutStateModel extends Disposable {
29562956
) {
29572957
const mainContainerDimension = configuration.mainContainerDimension;
29582958
this.setRuntimeValue(LayoutStateKeys.AUXILIARYBAR_HIDDEN, false);
2959-
this.setInitializationValue(LayoutStateKeys.AUXILIARYBAR_SIZE, mainContainerDimension.width / 2);
2959+
this.setInitializationValue(LayoutStateKeys.AUXILIARYBAR_SIZE, Math.ceil(mainContainerDimension.width / (1.618 * 1.618 /* golden ratio */)));
29602960
}
29612961
}
29622962

0 commit comments

Comments
 (0)