diff --git a/apps/OpenSign/src/components/pdf/PlaceholderType.js b/apps/OpenSign/src/components/pdf/PlaceholderType.js
index fa1297c13..00a354be0 100644
--- a/apps/OpenSign/src/components/pdf/PlaceholderType.js
+++ b/apps/OpenSign/src/components/pdf/PlaceholderType.js
@@ -343,9 +343,17 @@ function PlaceholderType(props) {
return (
0 ? "10px" : "0px"
+ }}
+ className={`flex justify-center op-radio`}
type="radio"
disabled={
props.isNeedSign &&
diff --git a/apps/OpenSign/src/constant/Utils.js b/apps/OpenSign/src/constant/Utils.js
index 702ae1ef3..1be92bc89 100644
--- a/apps/OpenSign/src/constant/Utils.js
+++ b/apps/OpenSign/src/constant/Utils.js
@@ -1379,11 +1379,11 @@ export const multiSignEmbed = async (
"email"
].includes(position.type);
if (position.type === "checkbox") {
- let checkboxOptionGapFromTop, isCheck;
+ let checkboxGapFromTop, isCheck, checkboxOptionGapTop;
let y = yPos(position);
const optionsFontSize = fontSize || 13;
- const checkboxSize = 18;
- const checkboxTextGapFromLeft = 22;
+ const checkboxSize = fontSize;
+ const checkboxTextGapFromLeft = fontSize + 5 || 22;
if (position?.options?.values.length > 0) {
position?.options?.values.forEach((item, ind) => {
const checkboxRandomId = "checkbox" + randomId();
@@ -1400,9 +1400,11 @@ export const multiSignEmbed = async (
const checkbox = form.createCheckBox(checkboxRandomId);
if (ind > 0) {
- y = y + checkboxOptionGapFromTop;
+ y = y + checkboxGapFromTop;
+ checkboxOptionGapTop = checkboxOptionGapTop + fontSize;
} else {
- checkboxOptionGapFromTop = 26;
+ checkboxGapFromTop = fontSize + 5 || 26;
+ checkboxOptionGapTop = y - 7;
}
if (!position?.options?.isHideLabel) {
@@ -1410,7 +1412,7 @@ export const multiSignEmbed = async (
const optionsPosition = compensateRotation(
page.getRotation().angle,
xPos(position) + checkboxTextGapFromLeft,
- y,
+ checkboxOptionGapTop,
1,
page.getSize(),
optionsFontSize,