mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-17 21:25:54 +02:00
fix: resolve spacing issue for text-type widgets in mobile view using template flow
This commit is contained in:
@@ -372,8 +372,10 @@ const TemplatePlaceholder = () => {
|
|||||||
);
|
);
|
||||||
const key = randomId();
|
const key = randomId();
|
||||||
const dragTypeValue = item?.text ? item.text : monitor.type;
|
const dragTypeValue = item?.text ? item.text : monitor.type;
|
||||||
const widgetWidth = defaultWidthHeight(dragTypeValue).width;
|
const widgetWidth =
|
||||||
const widgetHeight = defaultWidthHeight(dragTypeValue).height;
|
defaultWidthHeight(dragTypeValue).width * containerScale;
|
||||||
|
const widgetHeight =
|
||||||
|
defaultWidthHeight(dragTypeValue).height * containerScale;
|
||||||
let dropData = [],
|
let dropData = [],
|
||||||
currentPagePosition;
|
currentPagePosition;
|
||||||
let placeHolder;
|
let placeHolder;
|
||||||
|
|||||||
Reference in New Issue
Block a user