Skip to content

🔥 The free & Open Source DocuSign alternative

fix: remove extra space from bottom after embed text widgets in mobile view

RaktimaNXG24ce6eae3bd6
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,