Merge pull request '标签列表数据少时内容居中了' (#152) from caishi/forgeplus-react:pre_develop_dev into pre_develop_dev
This commit is contained in:
commit
2060e28ca2
|
@ -119,19 +119,19 @@ function Tags(props) {
|
||||||
return(
|
return(
|
||||||
<div>
|
<div>
|
||||||
<SubMenu tab={"tags"} projectsId={projectsId} owner={owner}/>
|
<SubMenu tab={"tags"} projectsId={projectsId} owner={owner}/>
|
||||||
<div className="tagSpin">
|
<Spin spinning={isSpin}>
|
||||||
<Spin spinning={isSpin}>
|
<div className="tagSpin">
|
||||||
{
|
{
|
||||||
source && source.length > 0 &&
|
source && source.length > 0 &&
|
||||||
<Table
|
<Table
|
||||||
className="tagTable"
|
className="tagTable"
|
||||||
dataSource={source} columns={columns} pagination={false}></Table>
|
dataSource={source} columns={columns} pagination={false}></Table>
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
source && source.length === 0 && <Nonedata _html={'暂无数据~'}/>
|
source && source.length === 0 && <Nonedata _html={'暂无数据~'}/>
|
||||||
}
|
}
|
||||||
</Spin>
|
</div>
|
||||||
</div>
|
</Spin>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,10 +39,6 @@
|
||||||
}
|
}
|
||||||
.tagSpin{
|
.tagSpin{
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
text-align: center;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
}
|
||||||
.tagBranch{
|
.tagBranch{
|
||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
|
|
Loading…
Reference in New Issue