mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +00:00
fix: 右侧配置面板样式修复
This commit is contained in:
parent
8961cfcb89
commit
05f62da9d5
@ -212,7 +212,9 @@ export function upgradePropConfig(config: OldPropConfig, collector: ConfigCollec
|
||||
liveTextEditing,
|
||||
} = config;
|
||||
|
||||
const extraProps: any = {};
|
||||
const extraProps: any = {
|
||||
display: DISPLAY_TYPE.BLOCK,
|
||||
};
|
||||
const newConfig: any = {
|
||||
type: type === 'group' ? 'group' : 'field',
|
||||
name,
|
||||
|
||||
@ -67,16 +67,16 @@
|
||||
}
|
||||
}
|
||||
|
||||
&.lc-plain-field {
|
||||
// for top-level style
|
||||
// padding: 8px 10px;
|
||||
> .lc-field-body {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
// &.lc-plain-field {
|
||||
// // for top-level style
|
||||
// // padding: 8px 10px;
|
||||
// > .lc-field-body {
|
||||
// flex: 1;
|
||||
// min-width: 0;
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// }
|
||||
// }
|
||||
|
||||
&.lc-inline-field {
|
||||
display: flex;
|
||||
@ -211,14 +211,14 @@
|
||||
}
|
||||
|
||||
// 3rd level field title width should short
|
||||
.lc-field-body .lc-inline-field {
|
||||
> .lc-field-head {
|
||||
width: 50px;
|
||||
.lc-title-label {
|
||||
width: 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
// .lc-field-body .lc-inline-field {
|
||||
// > .lc-field-head {
|
||||
// width: 50px;
|
||||
// .lc-title-label {
|
||||
// width: 50px;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
>.lc-block-setter {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user