Skip to content
Snippets Groups Projects
Commit 5797267c authored by Maz Ameli's avatar Maz Ameli
Browse files

make loading bg transparent

parent 1d68b047
Branches
Tags
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-white": !noBackground
"bg-transparent": !noBackground
});
if (noWrapper && !error && !loading) {
return React.Children.only(this.getChildren());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment