This commit is contained in:
谢思 2021-10-12 15:14:49 +08:00
parent 4902a26646
commit 19b7381120
3 changed files with 6 additions and 2 deletions

View File

@ -53,8 +53,10 @@ function SelectOverlay({ changeBranch , tagflag , branchList , projectsId , owne
setIsSpin(true); setIsSpin(true);
if(e.key === "branch"){ if(e.key === "branch"){
getBranchs(projectsId,owner); getBranchs(projectsId,owner);
setNav(0);
}else{ }else{
getTags(projectsId,owner); getTags(projectsId,owner);
setNav(1);
} }
} }

View File

@ -91,7 +91,7 @@ export default (props) => {
{commit && commit.message && {commit && commit.message &&
<RenderHtml className="task-hide" value={commit.message}/> <RenderHtml className="task-hide" value={commit.message}/>
} }
<Link to={`/${owner}/${projectsId}/tree/${truncateCommitId(sha)}`}><i className="iconfont icon-fenzhi2 font-18"></i>{data.branch}</Link> <Link to={`/${owner}/${projectsId}/tree/${data.branch}`}><i className="iconfont icon-fenzhi2 font-18"></i>{data.branch}</Link>
</div> </div>
<Button type="primary" onClick={()=>{history.push(`/${owner}/${projectsId}/tree/${truncateCommitId(sha)}`)}} className="btnblue" style={{height:"36px"}}>浏览文件</Button> <Button type="primary" onClick={()=>{history.push(`/${owner}/${projectsId}/tree/${truncateCommitId(sha)}`)}} className="btnblue" style={{height:"36px"}}>浏览文件</Button>
</div> </div>

View File

@ -271,8 +271,10 @@
word-wrap:break-word; word-wrap:break-word;
.markdown-body{ .markdown-body{
line-height: 10px; line-height: 10px;
font-size: 14px;
& p { & p {
margin: 0px 0px !important; margin: 1px 0px 0px !important;
font-size: 14px !important;
} }
& ol,ul{ & ol,ul{
padding-bottom: 3px; padding-bottom: 3px;