优化:调整分类管理布局
This commit is contained in:
@@ -3,10 +3,4 @@
|
||||
.ant-tree-node-content-wrapper {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
// .ant-tree-node-selected {
|
||||
// .controls {
|
||||
// display: block !important;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
@@ -130,7 +130,7 @@ const CatePage = () => {
|
||||
<Button type="primary" onClick={() => addCateData(0)}>新增一级分类</Button>
|
||||
</Title>
|
||||
|
||||
<Card className={`CatePage [&>.ant-card-body]:!p-2 [&>.ant-card-body]:!pb-6 mt-2`}>
|
||||
<Card className={`CatePage [&>.ant-card-body]:!p-[30px_20px] [&>.ant-card-body]:!pb-6 mt-2`}>
|
||||
<Spin spinning={loading}>
|
||||
<Tree defaultExpandAll={true} treeData={treeData(list)} />
|
||||
</Spin>
|
||||
|
||||
Reference in New Issue
Block a user