From 0ff2e57424ce16f4c2ede0e8b6fd6881659bcc81 Mon Sep 17 00:00:00 2001 From: RaktimaNXG Date: Thu, 7 Nov 2024 15:37:56 +0530 Subject: [PATCH 1/2] fix: text widgets issue in mobile view --- apps/OpenSign/src/components/pdf/Placeholder.js | 2 +- apps/OpenSign/src/pages/PlaceHolderSign.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/OpenSign/src/components/pdf/Placeholder.js b/apps/OpenSign/src/components/pdf/Placeholder.js index 31909ff2a..30ca1f529 100644 --- a/apps/OpenSign/src/components/pdf/Placeholder.js +++ b/apps/OpenSign/src/components/pdf/Placeholder.js @@ -834,7 +834,7 @@ function Placeholder(props) { )} {isTabAndMobile ? (
Date: Thu, 7 Nov 2024 16:25:54 +0530 Subject: [PATCH 2/2] fix: increase text widgets space --- apps/OpenSign/src/constant/Utils.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/OpenSign/src/constant/Utils.js b/apps/OpenSign/src/constant/Utils.js index 6041910c0..64da4f3b8 100644 --- a/apps/OpenSign/src/constant/Utils.js +++ b/apps/OpenSign/src/constant/Utils.js @@ -463,29 +463,29 @@ export const defaultWidthHeight = (type) => { case "stamp": return { width: 150, height: 60 }; case "checkbox": - return { width: 15, height: 17 }; + return { width: 15, height: 19 }; case textInputWidget: - return { width: 150, height: 17 }; + return { width: 150, height: 19 }; case "dropdown": return { width: 120, height: 22 }; case "initials": return { width: 50, height: 50 }; case "name": - return { width: 150, height: 17 }; + return { width: 150, height: 19 }; case "company": - return { width: 150, height: 17 }; + return { width: 150, height: 19 }; case "job title": - return { width: 150, height: 17 }; + return { width: 150, height: 19 }; case "date": return { width: 100, height: 20 }; case "image": return { width: 70, height: 70 }; case "email": - return { width: 150, height: 17 }; + return { width: 150, height: 19 }; case radioButtonWidget: return { width: 5, height: 10 }; case textWidget: - return { width: 150, height: 17 }; + return { width: 150, height: 19 }; default: return { width: 150, height: 60 }; }