File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -834,7 +834,7 @@ function Placeholder(props) {
834
834
) }
835
835
{ isTabAndMobile ? (
836
836
< div
837
- className = "flex items-stretch"
837
+ className = "flex items-stretch justify-center "
838
838
style = { {
839
839
left : xPos ( props . pos , props . isSignYourself ) ,
840
840
top : yPos ( props . pos , props . isSignYourself ) ,
Original file line number Diff line number Diff line change @@ -491,8 +491,10 @@ function PlaceHolderSign() {
491
491
let dropData = [ ] ;
492
492
let placeHolder ;
493
493
const dragTypeValue = item ?. text ? item . text : monitor . type ;
494
- const widgetWidth = defaultWidthHeight ( dragTypeValue ) . width ;
495
- const widgetHeight = defaultWidthHeight ( dragTypeValue ) . height ;
494
+ const widgetWidth =
495
+ defaultWidthHeight ( dragTypeValue ) . width * containerScale ;
496
+ const widgetHeight =
497
+ defaultWidthHeight ( dragTypeValue ) . height * containerScale ;
496
498
//adding and updating drop position in array when user drop signature button in div
497
499
if ( item === "onclick" ) {
498
500
const divHeight = divRef . current . getBoundingClientRect ( ) . height ;
You can’t perform that action at this time.
0 commit comments