make only the title clickable

This commit is contained in:
Riley Davis
2017-03-09 11:05:18 -07:00
committed by gaba
parent 1fd74068cd
commit b94401a8cf
3 changed files with 3 additions and 3 deletions
@@ -27,8 +27,8 @@ const FlagWidget = (props) => {
<p className={styles.widgetCount}>{flagSummary ? flagSummary.actionCount : 0}</p>
<Link className={styles.linkToAsset} to={`${asset.url}#coralStreamEmbed_iframe`} target="_blank">
<p className={styles.assetTitle}>{asset.title}</p>
<p className={styles.lede}>{asset.author} Published: {new Date(asset.created_at).toLocaleDateString()}</p>
</Link>
<p className={styles.lede}>{asset.author} Published: {new Date(asset.created_at).toLocaleDateString()}</p>
</div>
);
})
@@ -28,8 +28,8 @@ const LikeWidget = (props) => {
<p className={styles.widgetCount}>{likeSummary ? likeSummary.actionCount : 0}</p>
<Link className={styles.linkToAsset} to={`${asset.url}#coralStreamEmbed_iframe`} target="_blank">
<p className={styles.assetTitle}>{asset.title}</p>
<p className={styles.lede}>{asset.author} Published: {new Date(asset.created_at).toLocaleDateString()}</p>
</Link>
<p className={styles.lede}>{asset.author} Published: {new Date(asset.created_at).toLocaleDateString()}</p>
</div>
);
})
@@ -64,7 +64,7 @@
}
.linkToAsset {
display: block;
display: inline-block;
text-decoration: none;
}