Skip to content
Snippets Groups Projects
Commit 50c4ef3d authored by Maz Ameli's avatar Maz Ameli Committed by GitHub
Browse files

Merge pull request #3177 from metabase/little-fixes

Little fixes to Saved Questions
parents 91ea800b 55ca3cec
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ const EmptyState = ({ title, message, icon, image, action, link }) =>
<img src={`${image}.png`} height="250px" alt={message} srcSet={`${image}@2x.png 2x`} />
}
<div className="flex justify-center">
<h3 className="text-grey-2 mt4" style={{maxWidth: "350px"}}>{message}</h3>
<h3 className="text-grey-2 mt4" style={{maxWidth: "375px"}}>{message}</h3>
</div>
{ action &&
<Link to={link} className="Button Button--primary mt3" target={link.startsWith('http') ? "_blank" : ""}>{action}</Link>
......
......@@ -83,7 +83,7 @@ export default class EntityList extends Component {
switch (this.props.name) {
case 'All questions':
return {
icon: '',
icon: 'all',
message: 'No questions have been saved yet.'
}
case 'Recently viewed':
......@@ -109,7 +109,7 @@ export default class EntityList extends Component {
case 'Archive':
return {
icon: 'archive',
message: 'If you no longer need a question you can archive it.'
message: 'If you no longer need a question, you can archive it.'
}
default:
return {
......
......@@ -7,13 +7,13 @@
}
:local(.undo) {
composes: mx2 mt2 p2 from "style";
composes: mt2 p2 from "style";
composes: bordered from "style";
composes: rounded from "style";
composes: shadowed from "style";
composes: relative from "style";
composes: bg-white from "style";
width: 300px;
width: 320px;
}
:local(.actions) {
......
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