field placement cursor

This commit is contained in:
Timur Ercan
2023-03-07 16:34:51 +01:00
parent 15cecace4e
commit 96c6a592f4
2 changed files with 4 additions and 2 deletions

View File

@ -48,6 +48,9 @@ export default function PDFEditor(props: any) {
<>
<div>
<PDFViewer
style={{
cursor: `url("https://place-hold.it/110x64/37f095/FFFFFF&text=${selectedFieldType}") 55 32, auto`,
}}
readonly={false}
document={props.document}
fields={fields}

View File

@ -60,8 +60,7 @@ export default function PDFViewer(props) {
key={short.generate().toString()}
style={{
position: "relative",
cursor:
'url("https://place-hold.it/110x64/37f095/FFFFFF&text=Signature"), auto',
...props.style,
}}
className="mx-auto w-fit"
>