Add tooltip for truncated preview text
Expose the full content of preview text that might get truncated in their tooltips.
This commit is contained in:
parent
cd3ed64e48
commit
cf05568e0c
|
@ -2232,10 +2232,10 @@ function Card({ card, selfReferential, instance }) {
|
||||||
<p class="meta domain" dir="auto">
|
<p class="meta domain" dir="auto">
|
||||||
{domain}
|
{domain}
|
||||||
</p>
|
</p>
|
||||||
<p class="title" dir="auto">
|
<p class="title" dir="auto" title={title}>
|
||||||
{title}
|
{title}
|
||||||
</p>
|
</p>
|
||||||
<p class="meta" dir="auto">
|
<p class="meta" dir="auto" title={description}>
|
||||||
{description ||
|
{description ||
|
||||||
(!!publishedAt && (
|
(!!publishedAt && (
|
||||||
<RelativeTime datetime={publishedAt} format="micro" />
|
<RelativeTime datetime={publishedAt} format="micro" />
|
||||||
|
@ -2304,8 +2304,8 @@ function Card({ card, selfReferential, instance }) {
|
||||||
<p class="meta domain">
|
<p class="meta domain">
|
||||||
<Icon icon="link" size="s" /> <span>{domain}</span>
|
<Icon icon="link" size="s" /> <span>{domain}</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="title">{title}</p>
|
<p class="title" title={title}>{title}</p>
|
||||||
<p class="meta">{description || providerName || authorName}</p>
|
<p class="meta" title={description || providerName || authorName}>{description || providerName || authorName}</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue