forked from Gitlink/forgeplus-react
issue
This commit is contained in:
parent
b1d13f4014
commit
2731d54fd1
|
@ -1,5 +1,5 @@
|
|||
import React , { Component } from 'react';
|
||||
import { Spin , Pagination, Timeline } from 'antd';
|
||||
import { Spin , Pagination, Timeline , Tooltip } from 'antd';
|
||||
import { getImageUrl , returnbar } from 'educoder';
|
||||
import { truncateCommitId ,timeFormat } from '../common/util';
|
||||
import { AlignTop } from '../Component/layout';
|
||||
|
@ -200,7 +200,9 @@ class CoderRootCommit extends Component{
|
|||
</span>
|
||||
<CopyTool beforeText="复制commit id" afterText="复制成功" inputId={`value${k}`}/>
|
||||
</div>
|
||||
<button className="btn-83" onClick={()=>{window.location.href=`/${owner}/${projectsId}/tree/${truncateCommitId(item.sha)}`}}>浏览文件</button>
|
||||
<Tooltip title="浏览该提交对应历史版本的所有文件">
|
||||
<button className="btn-83" onClick={()=>{window.location.href=`/${owner}/${projectsId}/tree/${truncateCommitId(item.sha)}`}}>浏览文件</button>
|
||||
</Tooltip>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -5,6 +5,27 @@
|
|||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.markdown-body{
|
||||
overflow: inherit;
|
||||
}
|
||||
.markdown_anchors{
|
||||
position: relative;
|
||||
}
|
||||
.markdown_anchors:hover {
|
||||
.anchors{
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
.markdown_anchors {
|
||||
.anchors:hover{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
.markdown_anchors .anchors {
|
||||
color: inherit;
|
||||
margin-left: -14px;
|
||||
display: none;
|
||||
}
|
||||
.quillContent {
|
||||
position: relative;
|
||||
margin-bottom: 4px;
|
||||
|
|
Loading…
Reference in New Issue