提交 02138eb2 作者: 翁进城

fix: 【通用分类、作业、设备、飞手培训、产品商城】复选框、分类名称、描述、时间、操作按钮的布局居中显示

上级 c95fb804
......@@ -20,8 +20,9 @@
.table-option-wrap {
display: flex;
justify-content: flex-end;
justify-content: center;
flex-wrap: wrap;
align-items: center;
}
.share-code {
text-align: center;
......
......@@ -54,7 +54,7 @@ const Category: FC = (props: any) => {
title: '分类名称',
dataIndex: 'classifyName',
key: 'classifyName',
// align: "center",
align: 'center',
width: '12%',
editable: true,
ellipsis: true,
......@@ -89,7 +89,7 @@ const Category: FC = (props: any) => {
return record.icon ? (
<img
src={record.icon}
style={{ width: '50px', height: '50px' }}
style={{ width: '25px', height: '25px' }}
onClick={() => imgClick(record.icon)}
/>
) : (
......@@ -684,7 +684,7 @@ const Category: FC = (props: any) => {
>
<Form form={form} component={false}>
<Table
size='small'
size='large'
columns={mergedColumns}
dataSource={categoryList}
rowSelection={rowSelection}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论