Skip to content

Commit

Permalink
fix: code ellipsis broken under Layout (ant-design#45962)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored Nov 20, 2023
1 parent d8d53f1 commit cb56ddd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/typography/style/mixins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
},

Expand Down

0 comments on commit cb56ddd

Please sign in to comment.