mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-09-07 18:27:41 +02:00
feat: checkbox widget status,fix image emabed and upload issue
This commit is contained in:
@@ -3,8 +3,14 @@ import { themeColor } from "../../utils/ThemeColor/backColor";
|
||||
import { defaultWidthHeight, resizeBorderExtraWidth } from "../../utils/Utils";
|
||||
function PlaceholderBorder(props) {
|
||||
const getResizeBorderExtraWidth = resizeBorderExtraWidth();
|
||||
const defaultWidth = defaultWidthHeight(props.pos.type).width;
|
||||
const defaultHeight = defaultWidthHeight(props.pos.type).height;
|
||||
const defaultWidth =
|
||||
props.pos.type === "checkbox" && props.isPlaceholder
|
||||
? 50
|
||||
: defaultWidthHeight(props.pos.type).width;
|
||||
const defaultHeight =
|
||||
props.pos.type === "checkbox" && props.isPlaceholder
|
||||
? 50
|
||||
: defaultWidthHeight(props.pos.type).height;
|
||||
|
||||
return (
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user