Image Rendering: Fix render of graph panel legend aligned to the right using Grafana image renderer plugin/service (#21854)

Don't render class body--phantomjs on body element when 
PhantomJS renderer not is in use.

Fixes #21830
This commit is contained in:
Marcus Efraimsson
2020-01-30 17:35:32 +01:00
committed by GitHub
parent aa6ee5ef38
commit 6e80315531
4 changed files with 9 additions and 2 deletions

View File

@@ -67,6 +67,7 @@ export class GrafanaBootConfig {
meta: false,
};
licenseInfo: LicenseInfo = {} as LicenseInfo;
phantomJSRenderer = false;
constructor(options: GrafanaBootConfig) {
this.theme = options.bootData.user.lightTheme ? getTheme(GrafanaThemeType.Light) : getTheme(GrafanaThemeType.Dark);