diff --git a/src/styles/index.scss b/src/styles/index.scss index 87f43159..8913256a 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -70,6 +70,10 @@ div:focus { outline: none; } +p { + margin: 0; +} + // 全局form表单样式 :root { --el-font-size-base: 12px; diff --git a/src/views/layout/components/main/default/rich-text.ts b/src/views/layout/components/main/default/rich-text.ts index 89f7a86b..96d6cfb7 100644 --- a/src/views/layout/components/main/default/rich-text.ts +++ b/src/views/layout/components/main/default/rich-text.ts @@ -12,7 +12,15 @@ const defaultUserInfo: DefaultUserInfo = { html: '', }, style: { - common_style: defaultCommon, + common_style: { + ...defaultCommon, + color_list: [{ color: '#fff', color_percentage: undefined }], + padding: 15, + padding_top: 15, + padding_bottom: 15, + padding_left: 15, + padding_right: 15, + }, }, };