Make Featured Content use TrunctedText

This commit is contained in:
Alex Liebowitz 2016-08-08 05:40:47 -04:00
parent b60037b8d9
commit 3d20bc22aa

View file

@ -104,7 +104,7 @@ var SearchResultRow = React.createClass({
</span> </span>
<h2 style={searchRowTitleStyle}><a href={'/?show=' + this.props.name}>{this.props.title}</a></h2> <h2 style={searchRowTitleStyle}><a href={'/?show=' + this.props.name}>{this.props.title}</a></h2>
<div style={searchRowNameStyle}>lbry://{this.props.name}</div> <div style={searchRowNameStyle}>lbry://{this.props.name}</div>
<p style={searchRowDescriptionStyle}>{this.props.description}</p> <p style={searchRowDescriptionStyle}><TruncatedText>{this.props.description}</TruncatedText></p>
<div> <div>
<WatchLink streamName={this.props.name} button="primary" /> <WatchLink streamName={this.props.name} button="primary" />
{ ' ' } { ' ' }