diff --git a/components/modal/style/index.tsx b/components/modal/style/index.tsx index 350bad8d40..e2c9ee44cb 100644 --- a/components/modal/style/index.tsx +++ b/components/modal/style/index.tsx @@ -297,6 +297,7 @@ const genModalConfirmStyle: GenerateStyle = (token) => { [`+ ${confirmComponentCls}-content`]: { marginBlockStart: token.marginXS, + flexBasis: "100%", }, }, @@ -317,7 +318,6 @@ const genModalConfirmStyle: GenerateStyle = (token) => { // `content` after `icon` should set marginLeft [`+ ${confirmComponentCls}-title + ${confirmComponentCls}-content`]: { marginInlineStart: token.modalConfirmIconSize + token.marginSM, - flexBasis: '100%', }, }, },