fix: code ellipsis broken under Layout (#45962)

close #45953
This commit is contained in:
afc163 2023-11-20 12:22:29 +08:00 committed by GitHub
parent d8d53f14cf
commit cb56ddddd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,6 +261,8 @@ export const getEllipsisStyles = (): CSSObject => ({
overflow: 'hidden',
textOverflow: 'ellipsis',
verticalAlign: 'bottom',
// https://github.com/ant-design/ant-design/issues/45953
boxSizing: 'content-box',
},
},