We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42cbe94 commit 10e0153Copy full SHA for 10e0153
apps/OpenSign/src/components/pdf/SignPad.js
@@ -101,8 +101,8 @@ function SignPad({
101
onSaveSign(
102
null,
103
false,
104
- textWidth > 150 ? 150 : textWidth,
105
- textHeight > 35 ? 35 : textHeight
+ !isInitial && textWidth > 150 ? 150 : textWidth,
+ !isInitial && textHeight > 35 ? 35 : textHeight
106
);
107
} else {
108
setIsSignImg("");
@@ -215,7 +215,7 @@ function SignPad({
215
: fontSelect
216
? fontSelect
217
: "Fasthand";
218
- const fontSizeValue = isInitial ? "20px" : "40px";
+ const fontSizeValue = "40px";
219
//creating span for getting text content width
220
const span = document.createElement("span");
221
span.textContent = textContent;
0 commit comments