diff --git a/frontend/src/Editor/DraggableBox.jsx b/frontend/src/Editor/DraggableBox.jsx index 5b147816c1..f581791f1f 100644 --- a/frontend/src/Editor/DraggableBox.jsx +++ b/frontend/src/Editor/DraggableBox.jsx @@ -134,7 +134,7 @@ export const DraggableBox = function DraggableBox({ }, [layoutData.height, layoutData.width, layoutData.left, layoutData.top, currentLayout]); function scaleWidth(width, scaleValue) { - let newWidth = width * scaleValue + 6; + let newWidth = width * scaleValue; if(currentLayout === 'desktop') return newWidth; @@ -145,7 +145,7 @@ export const DraggableBox = function DraggableBox({ ...currentLayoutOptions, left: currentLayoutOptions.left - diff }); - + return width; } @@ -165,7 +165,7 @@ export const DraggableBox = function DraggableBox({