mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
fix(amis): flex组件alignItems默认值改为stretch,和flex默认行为保持一致.
This commit is contained in:
parent
6437ac4269
commit
e1a3e2bbbb
@ -81,7 +81,7 @@ export default class Flex extends React.Component<FlexProps, object> {
|
||||
static defaultProps: Partial<FlexProps> = {
|
||||
direction: 'row',
|
||||
justify: 'center',
|
||||
alignItems: 'center',
|
||||
alignItems: 'stretch',
|
||||
alignContent: 'center'
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user