refactor: use text-align instead of flex for modal confirm bottom btns (#35630)

This commit is contained in:
Yuki Zhang 2022-05-19 16:25:37 +08:00 committed by GitHub
parent b67bae6a6e
commit 651dae1430
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -280,9 +280,7 @@ const genModalConfirmStyle: GenerateStyle<ModalToken> = token => {
},
},
[`${confirmComponentCls}-btns`]: {
display: 'flex',
alignItems: 'center',
justifyContent: 'flex-end',
textAlign: 'end',
marginTop: token.marginLG,
[`${token.antCls}-btn + ${token.antCls}-btn`]: {