fix: Use css ellipsis when pure text (#30664)

This commit is contained in:
二货机器人 2021-05-25 13:31:22 +08:00 committed by GitHub
parent 4e89acc46d
commit 5f3d0a6049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -517,7 +517,7 @@ class Base extends React.Component<InternalBlockProps, BaseState> {
this.expandStr = expand;
return (
<ResizeObserver onResize={this.resizeOnNextFrame} disabled={!rows}>
<ResizeObserver onResize={this.resizeOnNextFrame} disabled={cssEllipsis}>
<Typography
className={classNames(
{