fix: 右侧配置面板样式修复

This commit is contained in:
mario.gk 2020-06-16 11:31:37 +08:00
parent 8961cfcb89
commit 05f62da9d5
2 changed files with 21 additions and 19 deletions

View File

@ -212,7 +212,9 @@ export function upgradePropConfig(config: OldPropConfig, collector: ConfigCollec
liveTextEditing, liveTextEditing,
} = config; } = config;
const extraProps: any = {}; const extraProps: any = {
display: DISPLAY_TYPE.BLOCK,
};
const newConfig: any = { const newConfig: any = {
type: type === 'group' ? 'group' : 'field', type: type === 'group' ? 'group' : 'field',
name, name,

View File

@ -67,16 +67,16 @@
} }
} }
&.lc-plain-field { // &.lc-plain-field {
// for top-level style // // for top-level style
// padding: 8px 10px; // // padding: 8px 10px;
> .lc-field-body { // > .lc-field-body {
flex: 1; // flex: 1;
min-width: 0; // min-width: 0;
display: flex; // display: flex;
align-items: center; // align-items: center;
} // }
} // }
&.lc-inline-field { &.lc-inline-field {
display: flex; display: flex;
@ -211,14 +211,14 @@
} }
// 3rd level field title width should short // 3rd level field title width should short
.lc-field-body .lc-inline-field { // .lc-field-body .lc-inline-field {
> .lc-field-head { // > .lc-field-head {
width: 50px; // width: 50px;
.lc-title-label { // .lc-title-label {
width: 50px; // width: 50px;
} // }
} // }
} // }
>.lc-block-setter { >.lc-block-setter {
flex: 1; flex: 1;
} }