Skip to content

Commit

Permalink
fix(listPicker): fix listPicker lines ellipsis (#1711)
Browse files Browse the repository at this point in the history
Co-authored-by: zhujiahong <zhujiahong@growingio.com>
  • Loading branch information
zhuzilv and zhujiahong committed Dec 21, 2021
1 parent d20aa1d commit 41ed2a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/legacy/property-selector/PropertyCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import defaultLocale from './locales/zh-CN';
import Card from '../../legacy/card';
import Loading from '../../loading'; // new
import Tag from '../../tag'; // new
import { Text } from '../../index'; // new

function PropertyCard(props: PropertyCardProps) {
const locale = useLocale('PropertyPicker');
Expand Down Expand Up @@ -41,7 +42,7 @@ function PropertyCard(props: PropertyCardProps) {
<Loading size="small" title={false} loading={loading}>
<Card.Meta style={{ minHeight: '40px' }}>
<Card.Meta>
<span className={`${propCardPrefixCls}-title`}>{data?.name}</span>
<Text className={`${propCardPrefixCls}-title`}>{data?.name}</Text>
{data?.previewTypeName && (
<Tag size="small" status="draft">
{data.previewTypeName}
Expand Down

1 comment on commit 41ed2a1

@vercel
Copy link

@vercel vercel bot commented on 41ed2a1 Dec 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.