Skip to content

Commit 488d38c

Browse files
committed
more layout changes
1 parent 1861166 commit 488d38c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/vs/workbench/contrib/chat/browser/chatViewPane.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -659,12 +659,7 @@ export class ChatViewPane extends ViewPane implements IViewWelcomeDelegate {
659659

660660
// Show as sidebar
661661
if (this.sessionsViewerOrientation === AgentSessionsViewerOrientation.SideBySide) {
662-
let sessionsHeight: number;
663-
if (this.sessionsViewerLimited) {
664-
sessionsHeight = this.sessionsCount * AgentSessionsListDelegate.ITEM_HEIGHT;
665-
} else {
666-
sessionsHeight = height - this.sessionsTitleContainer.offsetHeight - this.sessionsLinkContainer.offsetHeight;
667-
}
662+
const sessionsHeight = height - this.sessionsTitleContainer.offsetHeight - this.sessionsLinkContainer.offsetHeight;
668663

669664
this.sessionsControlContainer.style.height = `${sessionsHeight}px`;
670665
this.sessionsControlContainer.style.width = `${ChatViewPane.SESSIONS_SIDEBAR_WIDTH}px`;

0 commit comments

Comments
 (0)