mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
reduce description length inside AssetTeaser (#815)
This commit is contained in:
parent
864107b028
commit
238fd2bbe3
@ -46,7 +46,10 @@ const AssetTeaser: React.FC<AssetTeaserProps> = ({
|
|||||||
<div className={styles.content}>
|
<div className={styles.content}>
|
||||||
<Dotdotdot tagName="p" clamp={3}>
|
<Dotdotdot tagName="p" clamp={3}>
|
||||||
{removeMarkdown(
|
{removeMarkdown(
|
||||||
attributes?.additionalInformation?.description || ''
|
attributes?.additionalInformation?.description.substring(
|
||||||
|
0,
|
||||||
|
300
|
||||||
|
) || ''
|
||||||
)}
|
)}
|
||||||
</Dotdotdot>
|
</Dotdotdot>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user