fix: adjust border raduis
This commit is contained in:
@@ -165,6 +165,7 @@ const InstanceView = forwardRef((props, ref) => {
|
||||
columns={columns}
|
||||
scroll={{ x: 900 }}
|
||||
pagination={{
|
||||
size: 'middle',
|
||||
showSizeChanger: true,
|
||||
pageSize: queryParams.perPage,
|
||||
current: queryParams.page,
|
||||
|
||||
@@ -65,7 +65,7 @@ const WorkerInfoContent: React.FC<NameCellProps> = ({ record, modelData }) => {
|
||||
);
|
||||
};
|
||||
|
||||
const useProviderColumns = (options: {
|
||||
const useInstancesColumns = (options: {
|
||||
workerList: workerListItem[];
|
||||
clusterList: Global.BaseOption<
|
||||
number,
|
||||
@@ -112,6 +112,11 @@ const useProviderColumns = (options: {
|
||||
backend: record.backend,
|
||||
backend_version: record.backend_version
|
||||
}}
|
||||
styles={{
|
||||
label: {
|
||||
color: 'var(--ant-color-text)'
|
||||
}
|
||||
}}
|
||||
></NameCell>
|
||||
<div className="flex-center">
|
||||
<ThunderboltFilled
|
||||
@@ -213,4 +218,4 @@ const useProviderColumns = (options: {
|
||||
}, [handleSelect, onCellClick, workerList, clusterList]);
|
||||
};
|
||||
|
||||
export default useProviderColumns;
|
||||
export default useInstancesColumns;
|
||||
|
||||
Reference in New Issue
Block a user