mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-07-23 22:48:14 +00:00
feat(design): 优化 FormItem 和 colorPicker 样式
This commit is contained in:
parent
1f389ff9fd
commit
2e031cc134
@ -47,8 +47,8 @@ const uiComponent = ui?.component || 'el-form-item';
|
||||
|
||||
const adapterType = getDesignConfig('adapterType');
|
||||
|
||||
const formInline = inject<boolean>('formInline');
|
||||
const formInRow = inject<boolean>('isInRow');
|
||||
const formInline = inject<boolean>('formInline', false);
|
||||
const formInRow = inject<boolean>('isInRow', false);
|
||||
const uiProps = computed<FormItemProps>(() => {
|
||||
const { extra, extraTips, ...rest } = ui?.props(props) || props;
|
||||
if (isGlobalFlat.value && rest.labelPosition === undefined) {
|
||||
|
||||
@ -2,3 +2,7 @@
|
||||
margin-left: 8px;
|
||||
width: calc(var(--el-input-width, 100%) - 40px);
|
||||
}
|
||||
|
||||
.tmagic-design-color-picker {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user