mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
fix: confirm content not centered when no icon (#48173)
* fix: confirm content not centered when no icon * chore: add comment
This commit is contained in:
parent
d51d1bc929
commit
663004b426
@ -63,6 +63,10 @@ const genModalConfirmStyle: GenerateStyle<ModalToken> = (token) => {
|
||||
flexDirection: 'column',
|
||||
flex: 'auto',
|
||||
rowGap: token.marginXS,
|
||||
},
|
||||
|
||||
// https://github.com/ant-design/ant-design/issues/48159
|
||||
[`${token.iconCls} + ${confirmComponentCls}-paragraph`]: {
|
||||
maxWidth: `calc(100% - ${unit(
|
||||
token.calc(token.modalConfirmIconSize).add(token.marginSM).equal(),
|
||||
)})`,
|
||||
|
Loading…
Reference in New Issue
Block a user