Skip to content
Snippets Groups Projects
Commit 74a08a1c authored by Atte Keinänen's avatar Atte Keinänen
Browse files

Fix loading wrapper transparent background

parent 5797267c
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ export default class LoadingAndErrorWrapper extends Component {
render() {
const { loading, error, noBackground, noWrapper } = this.props;
const contentClassName = cx("wrapper py4 text-brand text-centered flex-full flex flex-column layout-centered", {
"bg-transparent": !noBackground
"bg-white": !noBackground
});
if (noWrapper && !error && !loading) {
return React.Children.only(this.getChildren());
......
......@@ -147,6 +147,7 @@ export class Dashboards extends Component {
style={{ backgroundColor: "#f9fbfc" }}
loading={isLoading}
className={cx("relative px4 full-height", {"flex flex-full flex-column": noDashboardsCreated})}
noBackground
>
{ modalOpen ? this.renderCreateDashboardModal() : null }
<div className="flex align-center pt4 pb1">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment