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

Tiny style fixes + let's run E2E tests [ci e2e]

parent 9e6737ad
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ import {Link} from "react-router";
import cx from "classnames";
/*
* EmptyState is a component that can
* 1) introduce a new section of Metabase to a user, and encourages the user to take an action
* 1) introduce a new section of Metabase to a user and encourage the user to take an action
* 2) indicate an empty result after a user-triggered search/query
*/
......@@ -35,9 +35,8 @@ const EmptyState = ({title, message, icon, image, imageClassName, action, link,
className={imageClassName}/>
}
<div className="flex justify-center">
{
<h2 className={cx("text-grey-2 text-normal mt2 mb4", {"text-paragraph": smallDescription})} style={{lineHeight: "1.5em"}}>{message}</h2>
}
<h2 className={cx("text-grey-2 text-normal mt2 mb4", {"text-paragraph": smallDescription})}
style={{lineHeight: "1.5em"}}>{message}</h2>
</div>
{ action && link &&
<Link to={link} className="Button Button--primary mt4"
......
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