diff --git a/public/app/features/canvas/runtime/element.tsx b/public/app/features/canvas/runtime/element.tsx index 2578f3d2f35..b83e8543265 100644 --- a/public/app/features/canvas/runtime/element.tsx +++ b/public/app/features/canvas/runtime/element.tsx @@ -83,6 +83,9 @@ export class ElementState implements LayerElement { const style: React.CSSProperties = { position: 'absolute', + // Minimum element size is 10x10 + minWidth: '10px', + minHeight: '10px', }; const translate = ['0px', '0px']; diff --git a/public/app/plugins/panel/canvas/editor/ConstraintSelectionBox.tsx b/public/app/plugins/panel/canvas/editor/ConstraintSelectionBox.tsx index fb6b5497568..8f8237763de 100644 --- a/public/app/plugins/panel/canvas/editor/ConstraintSelectionBox.tsx +++ b/public/app/plugins/panel/canvas/editor/ConstraintSelectionBox.tsx @@ -50,6 +50,7 @@ export const ConstraintSelectionBox = ({ height="75.000000pt" viewBox="0 0 228.000000 228.000000" preserveAspectRatio="xMidYMid meet" + style={{ marginBottom: '4.8px' }} >