[explore] remove grey background in standalone mode (#2503)

* [explore] remove grey background in standalone mode

* Going with background-transparent
This commit is contained in:
Maxime Beauchemin 2017-03-28 17:11:50 -07:00 committed by GitHub
parent a58194bdb0
commit d3b50cb92e
2 changed files with 6 additions and 0 deletions

View File

@ -209,6 +209,8 @@ class ChartContainer extends React.PureComponent {
render() {
if (this.props.standalone) {
// dom manipulation hack to get rid of the boostrap theme's body background
$('body').addClass('background-transparent');
return this.renderChart();
}
const queryResponse = this.props.queryResponse;

View File

@ -30,3 +30,7 @@
margin-bottom: 0px;
box-shadow: none;
}
.background-transparent {
background-color: transparent !important;
}