Fix object flex bug
This commit is contained in:
parent
a684db2306
commit
aff68fa435
@ -62,12 +62,18 @@ class CommandBar extends Component<ICommandBarProps & IMixinSettingProps & IMixi
|
|||||||
{this.getRenderButton({
|
{this.getRenderButton({
|
||||||
iconName: "WebAppBuilderFragmentCreate",
|
iconName: "WebAppBuilderFragmentCreate",
|
||||||
i18NKey: "Command.Bar.Add.Group.Info",
|
i18NKey: "Command.Bar.Add.Group.Info",
|
||||||
click: () => this.props.status ? this.props.status.newGroup() : undefined
|
click: () => {
|
||||||
|
this.props.status ? this.props.status.newGroup() : undefined;
|
||||||
|
this.props.status ? this.props.status.model.draw() : undefined;
|
||||||
|
}
|
||||||
})}
|
})}
|
||||||
{this.getRenderButton({
|
{this.getRenderButton({
|
||||||
iconName: "CubeShape",
|
iconName: "CubeShape",
|
||||||
i18NKey: "Command.Bar.Add.Range.Info",
|
i18NKey: "Command.Bar.Add.Range.Info",
|
||||||
click: () => this.props.status ? this.props.status.newRange() : undefined
|
click: () => {
|
||||||
|
this.props.status ? this.props.status.newRange() : undefined;
|
||||||
|
this.props.status ? this.props.status.model.draw() : undefined;
|
||||||
|
}
|
||||||
})}
|
})}
|
||||||
{this.getRenderButton({ iconName: "StepSharedAdd", i18NKey: "Command.Bar.Add.Behavior.Info" })}
|
{this.getRenderButton({ iconName: "StepSharedAdd", i18NKey: "Command.Bar.Add.Behavior.Info" })}
|
||||||
{this.getRenderButton({ iconName: "Tag", i18NKey: "Command.Bar.Add.Tag.Info" })}
|
{this.getRenderButton({ iconName: "Tag", i18NKey: "Command.Bar.Add.Tag.Info" })}
|
||||||
|
@ -11,7 +11,7 @@ div.details-list {
|
|||||||
min-height: 30px;
|
min-height: 30px;
|
||||||
|
|
||||||
div.details-list-value {
|
div.details-list-value {
|
||||||
padding: 5px 10px;
|
padding: 5px 5px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -19,6 +19,7 @@ div.details-list {
|
|||||||
|
|
||||||
div.details-list-checkbox {
|
div.details-list-checkbox {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-shrink: 0;
|
||||||
width: 30px;
|
width: 30px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
@ -22,6 +22,7 @@ div.object-list-command-bar {
|
|||||||
width: 30px;
|
width: 30px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-shrink: 0;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user