Skip to content
Snippets Groups Projects
Commit c828c52c authored by Allen Gilliland's avatar Allen Gilliland
Browse files

Merge pull request #1848 from metabase/chrome-48-dashboard-fix

Remove flexbox on dashboard grid to workaround Chrome 48.0.2564.97 bug
parents 077cb0cd 2ed20b47
No related branches found
No related tags found
No related merge requests found
......@@ -42,9 +42,9 @@ export default class Dashboard extends Component {
<header className="bg-white border-bottom">
<DashboardHeader {...this.props} />
</header>
<div className="Dash-wrapper wrapper flex layout-centered flex-full flex-column">
<div className="Dash-wrapper wrapper flex-full">
{ dashboard.ordered_cards.length === 0 ?
<div className="flex flex-column layout-centered">
<div className="absolute top bottom left right flex flex-column layout-centered">
<span className="QuestionCircle">?</span>
<div className="text-normal mt3 mb1">This dashboard is looking empty.</div>
<div className="text-normal text-grey-2">Add a question to start making it useful!</div>
......
......@@ -148,7 +148,7 @@ export default class DashboardGrid extends Component {
render() {
var { dashboard } = this.props;
return (
<div className="flex-full full">
<div>
<ResponsiveReactGridLayout
className={cx("DashboardGrid", { "Dash--editing": this.props.isEditing, "Dash--dragging": this.state.isDragging })}
breakpoints={{lg: 753, sm: 752}}
......
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