mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-01 01:25:38 -05:00
fixed scrolling for connection viewlet (#4073)
* fixed scrolling for connection viewlet * removed horizontal scrolling
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user