From 6f06ab440a4f81eec9408b0436d5df9d4015c595 Mon Sep 17 00:00:00 2001 From: Amir Omidi Date: Fri, 20 Sep 2019 17:21:16 -0700 Subject: [PATCH] Move css around (#7311) * Move css around * typings * Keep it in both --- .../browser/containers/dashboardGridContainer.component.ts | 2 +- .../dashboard/browser/containers/dashboardGridContainer.css | 5 +++++ .../browser/containers/dashboardHomeContainer.component.ts | 2 +- src/sql/workbench/parts/editData/browser/media/flexbox.css | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/sql/workbench/parts/dashboard/browser/containers/dashboardGridContainer.component.ts b/src/sql/workbench/parts/dashboard/browser/containers/dashboardGridContainer.component.ts index 1a29b41116..613270af23 100644 --- a/src/sql/workbench/parts/dashboard/browser/containers/dashboardGridContainer.component.ts +++ b/src/sql/workbench/parts/dashboard/browser/containers/dashboardGridContainer.component.ts @@ -178,7 +178,7 @@ export class DashboardGridContainer extends DashboardTab implements OnDestroy { @ViewChildren(DashboardWidgetWrapper) private _widgets: QueryList; @ViewChildren(WebviewContent) private _webViews: QueryList; - @ContentChild(ScrollableDirective) private _scrollable; + @ContentChild(ScrollableDirective) private _scrollable: ScrollableDirective; constructor( @Inject(forwardRef(() => CommonServiceInterface)) protected dashboardService: CommonServiceInterface, @Inject(forwardRef(() => ElementRef)) protected _el: ElementRef, diff --git a/src/sql/workbench/parts/dashboard/browser/containers/dashboardGridContainer.css b/src/sql/workbench/parts/dashboard/browser/containers/dashboardGridContainer.css index 6f338ccda9..e200fabc58 100644 --- a/src/sql/workbench/parts/dashboard/browser/containers/dashboardGridContainer.css +++ b/src/sql/workbench/parts/dashboard/browser/containers/dashboardGridContainer.css @@ -22,3 +22,8 @@ dashboard-tab { vertical-align: top; padding: 7px; } + +.fullsize { + height: 100%; + width: 100%; +} diff --git a/src/sql/workbench/parts/dashboard/browser/containers/dashboardHomeContainer.component.ts b/src/sql/workbench/parts/dashboard/browser/containers/dashboardHomeContainer.component.ts index 92e7cb12f4..f7c5719864 100644 --- a/src/sql/workbench/parts/dashboard/browser/containers/dashboardHomeContainer.component.ts +++ b/src/sql/workbench/parts/dashboard/browser/containers/dashboardHomeContainer.component.ts @@ -37,7 +37,7 @@ import { ScrollbarVisibility } from 'vs/editor/common/standalone/standaloneEnums export class DashboardHomeContainer extends DashboardWidgetContainer { @Input() private properties: WidgetConfig; @ViewChild('propertiesClass') private _propertiesClass: DashboardWidgetWrapper; - @ContentChild(ScrollableDirective) private _scrollable; + @ContentChild(ScrollableDirective) private _scrollable: ScrollableDirective; private ScrollbarVisibility = ScrollbarVisibility; diff --git a/src/sql/workbench/parts/editData/browser/media/flexbox.css b/src/sql/workbench/parts/editData/browser/media/flexbox.css index 7e2ce07808..1726ae7413 100644 --- a/src/sql/workbench/parts/editData/browser/media/flexbox.css +++ b/src/sql/workbench/parts/editData/browser/media/flexbox.css @@ -73,4 +73,4 @@ .horzBox { border: 1px solid red; } -*/ \ No newline at end of file +*/