removing type from classes (#15862) (#15882)

This commit is contained in:
Peter Pisljar 2018-01-08 12:03:57 +01:00 committed by GitHub
parent acbdf48b6a
commit cc556b7433
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ export class VisualizeEmbeddableFactory extends EmbeddableFactory {
uiState: uiState,
// Append visualization to container instead of replacing its content
append: true,
cssClass: `panel-content ${savedObject.vis.type.name}`,
cssClass: `panel-content`,
// The chrome is permanently hidden in "embed mode" in which case we don't want to show the spy pane, since
// we deem that situation to be more public facing and want to hide more detailed information.
showSpyPanel: !chrome.getIsChromePermanentlyHidden(),