Make dashboards only have edit styles in edit mode

pull/10616/head
Alex P 2017-02-23 11:45:26 -08:00
parent 486afb82cb
commit 147e44075a
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ const Dashboard = ({
return (
<div className={classnames({'page-contents': true, 'presentation-mode': inPresentationMode})}>
<div className="container-fluid full-width dashboard-view">
<div className={classnames('container-fluid full-width dashboard', {'dashboard-edit': isEditMode})}>
{isEditMode ? <Visualizations/> : null}
{Dashboard.renderDashboard(dashboard, timeRange, source, onPositionChange)}
</div>