Skip to content

Commit

Permalink
Fix panel content vis styling (elastic#15754) (elastic#15921)
Browse files Browse the repository at this point in the history
  • Loading branch information
timroes committed Jan 9, 2018
1 parent e4e9868 commit c0f0150
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/core_plugins/kibana/public/dashboard/styles/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,10 @@ dashboard-viewport-provider {
z-index: 1; /* 1. */
padding: 0 8px 8px 8px;
}

.panel-content--fullWidth {
width: 100%;
}
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
cssClass: `panel-content panel-content--fullWidth`,
// 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(),
Expand Down

0 comments on commit c0f0150

Please sign in to comment.