Skip to content

Commit 14a3c91

Browse files
committed
Adds ellipses if character limits exceed 150 for desc
1 parent a585d9e commit 14a3c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/pages/ApplicationV2/HomeResCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ export function HomeResCard(props: { res: HomeRes; onMove: (res: HomeRes) => voi
332332
type="secondary"
333333
style={{ fontSize: 12, textWrap: "wrap"}}
334334
>
335-
{res?.description}
335+
{res.description.length > 150 ? res.description.substring(0, 150) + '...' : res.description}
336336
</Typography.Text>}
337337

338338
<AppTimeOwnerInfoLabel title={subTitle}>{subTitle}</AppTimeOwnerInfoLabel>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy