diff --git a/packages/app/src/components/views/Field/style.less b/packages/app/src/components/views/Field/style.less index bb8f269f2..d86ade22e 100644 --- a/packages/app/src/components/views/Field/style.less +++ b/packages/app/src/components/views/Field/style.less @@ -32,4 +32,9 @@ > *:last-child { margin-bottom: 0; } +} + +.ant-table-cell.noco-field-percent, +.ant-table-cell.noco-field-number { + text-align: right; } \ No newline at end of file diff --git a/packages/app/src/components/views/SortableTable/index.tsx b/packages/app/src/components/views/SortableTable/index.tsx index 105b24f45..472f769bf 100644 --- a/packages/app/src/components/views/SortableTable/index.tsx +++ b/packages/app/src/components/views/SortableTable/index.tsx @@ -7,6 +7,7 @@ import findIndex from 'lodash/findIndex'; import get from 'lodash/get'; import './style.less'; import Field from '../Field'; +import cloneDeep from 'lodash/cloneDeep'; export const SortableItem = sortableElement(props =>