Skip to content

Commit

Permalink
修改列表样式
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoubichuan committed Dec 19, 2023
1 parent a3c68ec commit da94c98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/list/list/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
height: 100%;
.ant-pro-table-search-ghost {
flex-basis: 104px;
flex-grow: 1;
flex-shrink: 0;
min-height: 104px;
}
.ant-pro-card {
&:last-child {
Expand Down Expand Up @@ -65,3 +65,6 @@
}
}
}
// .pro-table{

// }
1 change: 1 addition & 0 deletions src/pages/list/list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ const TableList: React.FC = () => {
tabActiveKey={tabActiveKey}
>
<ProTable<TableListItem, TableListPagination>
className={classNames('pro-table', styles['pro-table'])}
sticky
actionRef={actionRef}
ghost={true}
Expand Down

0 comments on commit da94c98

Please sign in to comment.