diff --git a/superset-frontend/src/dashboard/components/DashboardGrid.jsx b/superset-frontend/src/dashboard/components/DashboardGrid.jsx index f9914139a1..6889c91ab3 100644 --- a/superset-frontend/src/dashboard/components/DashboardGrid.jsx +++ b/superset-frontend/src/dashboard/components/DashboardGrid.jsx @@ -171,7 +171,7 @@ class DashboardGrid extends React.PureComponent { ))} {/* make the area below components droppable */} - {editMode && ( + {editMode && gridComponent.children.length > 0 && ( .empty-droptarget:first-child { - height: 24px; + height: 48px; margin-top: -24px; + margin-bottom: -24px; + } + + & > .empty-droptarget:only-child { + height: 80vh; } }