Remove gap from bottom of Server view (#5072)

This commit is contained in:
Karl Burtram
2019-04-16 19:54:30 -07:00
committed by GitHub
parent b973f9e0ec
commit cc0a144169
3 changed files with 3 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ export class ConnectionViewlet extends Viewlet implements IConnectionsViewlet {
}
public layout({ height, width }: DOM.Dimension): void {
this._serverTreeView.layout(height - 36); // account for search box
this._serverTreeView.layout(height);
DOM.toggleClass(this._root, 'narrow', width <= 350);
}

View File

@@ -29,7 +29,7 @@
}
.server-explorer-viewlet .object-explorer-view {
height: calc(100% - 36px);
height: 100%;
}
.server-explorer-viewlet .server-group {

View File

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