From 24ce6eae3bd6e9423191a2a203f69daa82a1cc5a Mon Sep 17 00:00:00 2001 From: RaktimaNXG Date: Mon, 4 Nov 2024 18:09:38 +0530 Subject: [PATCH] fix: remove extra space from bottom after embed text widgets in mobile view --- apps/OpenSign/src/pages/SignyourselfPdf.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/OpenSign/src/pages/SignyourselfPdf.js b/apps/OpenSign/src/pages/SignyourselfPdf.js index 54930292a..907bdf8e4 100644 --- a/apps/OpenSign/src/pages/SignyourselfPdf.js +++ b/apps/OpenSign/src/pages/SignyourselfPdf.js @@ -424,9 +424,7 @@ function SignYourSelf() { const getWidth = widgetTypeExist ? calculateInitialWidthHeight(dragTypeValue, widgetValue).getWidth : defaultWidthHeight(dragTypeValue).width; - const getHeight = widgetTypeExist - ? calculateInitialWidthHeight(dragTypeValue, widgetValue).getHeight - : defaultWidthHeight(dragTypeValue).height; + const getHeight = defaultWidthHeight(dragTypeValue).height; dropObj = { xPosition: getWidth / 2 + containerWH.width / 2,