Merge pull request #1443 from OpenSignLabs/raktima-patch-11

fix: resolve spacing issue for text-type widgets in mobile view using template flow
This commit is contained in:
prafull-opensignlabs
2024-11-11 16:54:31 +05:30
committed by GitHub
@@ -369,8 +369,10 @@ const TemplatePlaceholder = () => {
);
const key = randomId();
const dragTypeValue = item?.text ? item.text : monitor.type;
const widgetWidth = defaultWidthHeight(dragTypeValue).width;
const widgetHeight = defaultWidthHeight(dragTypeValue).height;
const widgetWidth =
defaultWidthHeight(dragTypeValue).width * containerScale;
const widgetHeight =
defaultWidthHeight(dragTypeValue).height * containerScale;
let dropData = [],
currentPagePosition;
let placeHolder;