Skip to content

Commit

Permalink
setup - restore preferred 400px width
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Jan 12, 2025
1 parent 259bfba commit a2ea514
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/workbench/contrib/chat/browser/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export function ensureSideBarChatViewSize(viewDescriptorService: IViewDescriptor

const viewPart = location === ViewContainerLocation.Sidebar ? Parts.SIDEBAR_PART : Parts.AUXILIARYBAR_PART;
const partSize = layoutService.getSize(viewPart);
if (partSize.width < 300) {
layoutService.setSize(viewPart, { width: 300, height: partSize.height });
if (partSize.width < 400) {
layoutService.setSize(viewPart, { width: 400, height: partSize.height });
}
}

Expand Down

0 comments on commit a2ea514

Please sign in to comment.