diff --git a/src/forge/Component/CopyTool.jsx b/src/forge/Component/CopyTool.jsx index 36ed1d8c..381201c1 100644 --- a/src/forge/Component/CopyTool.jsx +++ b/src/forge/Component/CopyTool.jsx @@ -42,7 +42,7 @@ function CopyTool({ beforeText, afterText, className , inputId , timeOut }) { title={title} onVisibleChange={() => { setTitle(beforeText) }} > - + ); } diff --git a/src/forge/Issues/Pages/details.jsx b/src/forge/Issues/Pages/details.jsx index d031695a..626278ec 100644 --- a/src/forge/Issues/Pages/details.jsx +++ b/src/forge/Issues/Pages/details.jsx @@ -434,7 +434,7 @@ function Details(props){ editFlag={editFlag} chooseFunc={(list)=>{setAssigner_choose(list);let l = list && list.length>0 ?list.map(i=>{return i.id || i.name}):[];saveForeach(l);}} double={5} - removeFlag + removeFlag={!editFlag} /> {setTag_choose(list);let l = list && list.length>0 ?list.map(i=>{return i.id || i.name}):[];saveForeach(undefined,undefined,undefined,l);}} double={3} colorFlag="2" - removeFlag + removeFlag={!editFlag} editFlag={editFlag} onAdd={permission && permission !== "Reporter" ? ()=>{getSign();} :false} owner={owner} diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx index 4833497b..d5942371 100644 --- a/src/forge/Main/CoderDepot.jsx +++ b/src/forge/Main/CoderDepot.jsx @@ -185,7 +185,7 @@ function CoderDepot(props){ setZip_url(result.data.zip_url); let c = result.data.last_commit setLastCommit(c && c.commit); - setLastCommitAuthor(c && c.committer); + setLastCommitAuthor(c && c.author); setMainFlag(true); setReadOnly(true); // setReadme(result.data.readme); @@ -233,7 +233,7 @@ function CoderDepot(props){ } let c = result.data.last_commit setLastCommit(c && c.commit); - setLastCommitAuthor(c && c.committer); + setLastCommitAuthor(c && c.author); setMainFlag(false); setReadOnly(true); setReadOnly(!editReadme); diff --git a/src/forge/Main/Index.scss b/src/forge/Main/Index.scss index 36074bad..a14b38e9 100644 --- a/src/forge/Main/Index.scss +++ b/src/forge/Main/Index.scss @@ -263,6 +263,9 @@ color: #466AFF; } } + li{ + line-height: 15px; + } margin-top: 2px; // cursor: pointer; #ptxt{ diff --git a/src/forge/Main/list.scss b/src/forge/Main/list.scss index fcaba3ac..3232fc41 100644 --- a/src/forge/Main/list.scss +++ b/src/forge/Main/list.scss @@ -779,6 +779,8 @@ a.color-grey-ccc:hover{ } .treecopy-cont{ padding: 4px 15px; + display: flex; + align-items: center; } .btn-83{ margin-left: 20px; diff --git a/src/forge/Main/tree/Index.scss b/src/forge/Main/tree/Index.scss index 3d6a7387..1c31ea8f 100644 --- a/src/forge/Main/tree/Index.scss +++ b/src/forge/Main/tree/Index.scss @@ -161,7 +161,7 @@ padding:0px 15px; border-right: 1px solid rgba(153, 153, 153, 0.4); height: 100%; - width: 135px; + width: 140px; img{ margin-right: 4px; }