diff --git a/apps/OpenSign/src/components/TreeEditForm.js b/apps/OpenSign/src/components/TreeEditForm.js index 3574a03df..4de7e9c2f 100644 --- a/apps/OpenSign/src/components/TreeEditForm.js +++ b/apps/OpenSign/src/components/TreeEditForm.js @@ -375,11 +375,11 @@ const TreeEditForm = (props) => { >
{active ? ( - ) : ( - )} diff --git a/apps/OpenSign/src/components/TreeWidget.js b/apps/OpenSign/src/components/TreeWidget.js index 8b322d854..24aa61689 100644 --- a/apps/OpenSign/src/components/TreeWidget.js +++ b/apps/OpenSign/src/components/TreeWidget.js @@ -522,19 +522,17 @@ const TreeWidget = (props) => { }, [defaultState]); const customStyles = { content: { - top: "40%", + top: "50%", left: "50%", - right: "20%", - bottom: "20%", + right: "auto", + bottom: "auto", marginRight: "-50%", transform: "translate(-50%, -50%)", backgroundColor: "white", - padding: "0px", - maxWidth: "100%", // Set a maximum width for the modal - maxHeight: "100vh", - height: "300px" + padding: 0 }, overlay: { + width:"100%", backgroundColor: "rgba(0, 0, 0, 0.75)", zIndex: 50 } @@ -563,7 +561,7 @@ const TreeWidget = (props) => { >
{ contentLabel="Modal" style={customStyles} > -
+
{/* header */}
{

{/* body */} -
+
{ border: "1px solid gray", borderRadius: "1px", marginTop: "8px", - marginRight: "8px", transition: "all 0.75s ease", WebkitTransition: "all 0.5s ease", MozTransition: "all 0.5s ease", @@ -830,7 +826,7 @@ const TreeWidget = (props) => {
{/* footer */} -
+