mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
fix(Tour): solve the Tour title will cover the close button at a certain length issue (#50942)
This commit is contained in:
parent
0401475eb4
commit
aa70d29d30
@ -143,7 +143,8 @@ const genBaseStyle: GenerateStyle<TourToken> = (token) => {
|
||||
},
|
||||
[`${componentCls}-header`]: {
|
||||
padding: `${unit(padding)} ${unit(padding)} ${unit(paddingXS)}`,
|
||||
|
||||
width: `calc(100% - ${unit(closeBtnSize)})`,
|
||||
wordBreak: 'break-word',
|
||||
[`${componentCls}-title`]: {
|
||||
fontWeight: fontWeightStrong,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user