diff --git a/client/src/pages/filaments/list.tsx b/client/src/pages/filaments/list.tsx index b88be17..8ecc53f 100644 --- a/client/src/pages/filaments/list.tsx +++ b/client/src/pages/filaments/list.tsx @@ -8,7 +8,7 @@ import { DateField, CloneButton, } from "@refinedev/antd"; -import { Table, Space, Button } from "antd"; +import { Table, Space, Button, Row, Col } from "antd"; import { NumberFieldUnit } from "../../components/numberField"; import dayjs from "dayjs"; import utc from "dayjs/plugin/utc"; @@ -158,25 +158,32 @@ export const FilamentList: React.FC = () => { filters={useListFiltersForField(dataSource, "name")} filteredValue={getFiltersForField(typedFilters, "name")} render={(value, record: IFilament) => { - return ( - <> - {record.color_hex && ( - - )} - {value} - - ); + return { + props: { + style: { + paddingLeft: 0, + paddingTop: 0, + paddingBottom: 0, + }, + }, + children: ( + + {record.color_hex && ( + + + + )} + {value} + + ), + }; }} /> = () => { filters={useListFiltersForField(dataSource, "filament_name")} filteredValue={getFiltersForField(typedFilters, "filament_name")} render={(value, record: ISpool) => { - return ( - <> - {record.filament.color_hex && ( - - )} - {value} - - ); + return { + props: { + style: { + paddingLeft: 0, + paddingTop: 0, + paddingBottom: 0, + }, + }, + children: ( + + {record.filament.color_hex && ( + + + + )} + {value} + + ), + }; }} />