Minor UI fix for empty state of the canvas

This commit is contained in:
navaneeth 2021-06-03 11:58:32 +05:30
parent 152f08ebba
commit b116b41d43

View file

@ -235,7 +235,7 @@ export const Container = ({
)}
{Object.keys(boxes).length === 0 && !appLoading && !isDragging && (
<div className="mx-auto mt-5 w-50 p-5 bg-light no-components-box">
<div className="mx-auto w-50 p-5 bg-light no-components-box" style={{ marginTop: '15%' }}>
<center className="text-muted">You haven&apos;t added any components yet. Drag components from the right sidebar and drop here.</center>
</div>
)}