Skip to content

Commit

Permalink
Fixes #140367: Take into account horizontal padding when layouting th…
Browse files Browse the repository at this point in the history
…e editor
  • Loading branch information
alexdima committed Jan 27, 2022
1 parent 61f0872 commit 8211dc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ export class ExtensionsViewPaneContainer extends ViewPaneContainer implements IE
this.root.classList.toggle('mini', dimension.width <= 200);
}
if (this.searchBox) {
this.searchBox.layout(new Dimension(dimension.width - 34, 20));
this.searchBox.layout(new Dimension(dimension.width - 34 - /*padding*/8, 20));
}
super.layout(new Dimension(dimension.width, dimension.height - 41));
}
Expand Down

2 comments on commit 8211dc3

@alexdima
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi @sandy081

@sandy081
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix

Please sign in to comment.