Skip to content

Commit 8211dc3

Browse files
committed
Fixes microsoft#140367: Take into account horizontal padding when layouting the editor
1 parent 61f0872 commit 8211dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/extensions/browser/extensionsViewlet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ export class ExtensionsViewPaneContainer extends ViewPaneContainer implements IE
575575
this.root.classList.toggle('mini', dimension.width <= 200);
576576
}
577577
if (this.searchBox) {
578-
this.searchBox.layout(new Dimension(dimension.width - 34, 20));
578+
this.searchBox.layout(new Dimension(dimension.width - 34 - /*padding*/8, 20));
579579
}
580580
super.layout(new Dimension(dimension.width, dimension.height - 41));
581581
}

0 commit comments

Comments
 (0)