From e1a3e2bbbbbe6e1961ba91bd281cac59e0abe706 Mon Sep 17 00:00:00 2001 From: wibetter <365533093@qq.com> Date: Wed, 10 May 2023 16:24:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(amis):=20flex=E7=BB=84=E4=BB=B6alignItems?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC=E6=94=B9=E4=B8=BAstretch,=E5=92=8Cf?= =?UTF-8?q?lex=E9=BB=98=E8=AE=A4=E8=A1=8C=E4=B8=BA=E4=BF=9D=E6=8C=81?= =?UTF-8?q?=E4=B8=80=E8=87=B4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis/src/renderers/Flex.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/amis/src/renderers/Flex.tsx b/packages/amis/src/renderers/Flex.tsx index ab25e6646..53cf9dc87 100644 --- a/packages/amis/src/renderers/Flex.tsx +++ b/packages/amis/src/renderers/Flex.tsx @@ -81,7 +81,7 @@ export default class Flex extends React.Component { static defaultProps: Partial = { direction: 'row', justify: 'center', - alignItems: 'center', + alignItems: 'stretch', alignContent: 'center' };