From cc4da4ca15fd3cca7d6307e9d025c316ccd5ec3e Mon Sep 17 00:00:00 2001 From: SemmyWong <67748948+semmywong@users.noreply.github.com> Date: Sun, 24 Apr 2022 23:28:28 +0800 Subject: [PATCH] refactor: modify default lable style (#318) --- .../client/src/schema-component/antd/index.less | 3 ++- .../schema-component/antd/kanban-v2/Kanban.tsx | 1 + .../schema-component/antd/kanban-v2/index.less | 16 ++++++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 packages/core/client/src/schema-component/antd/kanban-v2/index.less diff --git a/packages/core/client/src/schema-component/antd/index.less b/packages/core/client/src/schema-component/antd/index.less index 62b7a55f9..28bd4107d 100644 --- a/packages/core/client/src/schema-component/antd/index.less +++ b/packages/core/client/src/schema-component/antd/index.less @@ -1,3 +1,4 @@ .ant-formily-item-label { - color: #8c8c8c; + color: #000000d9; + font-weight:600; } diff --git a/packages/core/client/src/schema-component/antd/kanban-v2/Kanban.tsx b/packages/core/client/src/schema-component/antd/kanban-v2/Kanban.tsx index 7bc949b0a..bcbb667bb 100644 --- a/packages/core/client/src/schema-component/antd/kanban-v2/Kanban.tsx +++ b/packages/core/client/src/schema-component/antd/kanban-v2/Kanban.tsx @@ -9,6 +9,7 @@ import { Board } from '../../../board'; import '../../../board/style.less'; import { useProps } from '../../hooks/useProps'; import { KanbanCardContext, KanbanColumnContext } from './context'; +import './index.less'; const useCreateActionProps = () => { const form = useForm(); diff --git a/packages/core/client/src/schema-component/antd/kanban-v2/index.less b/packages/core/client/src/schema-component/antd/kanban-v2/index.less new file mode 100644 index 000000000..3f5859a43 --- /dev/null +++ b/packages/core/client/src/schema-component/antd/kanban-v2/index.less @@ -0,0 +1,16 @@ +.react-kanban-board { + margin-bottom: 24px; + .nb-block-item { + .ant-formily-item-control .ant-space-item{ + + white-space: normal; + word-break: break-all; + word-wrap: break-word; + } + & .ant-formily-item-label{ + color: #8c8c8c; + font-weight:normal; + } + } +} +