fixed scrolling for connection viewlet (#4073)

* fixed scrolling for connection viewlet

* removed horizontal scrolling
This commit is contained in:
Aditya Bist
2019-02-20 13:51:56 -08:00
committed by GitHub
parent 70838c3e24
commit 5a146e34fa
2 changed files with 2 additions and 1 deletions

View File

@@ -111,7 +111,7 @@ export class ConnectionViewletPanel extends ViewletPanel {
layoutBody(size: number): void {
this._searchBox.layout();
this._serverTreeView.layout(size); // account for search box
this._serverTreeView.layout(size - 46); // account for search box and horizontal scroll bar
DOM.toggleClass(this._root, 'narrow', this._root.clientWidth < 300);
}