diff --git a/frontend/src/metabase/components/LoadingAndErrorWrapper.jsx b/frontend/src/metabase/components/LoadingAndErrorWrapper.jsx index 22709cd0d2c1f747b7b0cf5029c7f70f41e96da7..fd4c7df84662c17f003b7903ae6a853ea28ab591 100644 --- a/frontend/src/metabase/components/LoadingAndErrorWrapper.jsx +++ b/frontend/src/metabase/components/LoadingAndErrorWrapper.jsx @@ -13,6 +13,7 @@ export default class LoadingAndErrorWrapper extends Component { noBackground: PropTypes.bool, noWrapper: PropTypes.bool, children: PropTypes.any, + style: PropTypes.object }; static defaultProps = { @@ -55,7 +56,7 @@ export default class LoadingAndErrorWrapper extends Component { return React.Children.only(this.getChildren()); } return ( - <div className={this.props.className}> + <div className={this.props.className} style={this.props.style}> { error ? <div className={contentClassName}> <h2 className="text-normal text-grey-2">{this.getErrorMessage()}</h2>