Skip to content

Commit 24ce6ea

Browse files
fix: remove extra space from bottom after embed text widgets in mobile view
1 parent 8db934a commit 24ce6ea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

apps/OpenSign/src/pages/SignyourselfPdf.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,7 @@ function SignYourSelf() {
424424
const getWidth = widgetTypeExist
425425
? calculateInitialWidthHeight(dragTypeValue, widgetValue).getWidth
426426
: defaultWidthHeight(dragTypeValue).width;
427-
const getHeight = widgetTypeExist
428-
? calculateInitialWidthHeight(dragTypeValue, widgetValue).getHeight
429-
: defaultWidthHeight(dragTypeValue).height;
427+
const getHeight = defaultWidthHeight(dragTypeValue).height;
430428

431429
dropObj = {
432430
xPosition: getWidth / 2 + containerWH.width / 2,

0 commit comments

Comments
 (0)