mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-21 05:18:51 +01:00
Port the tooltip stuff to other link cards
This commit is contained in:
parent
13f5621488
commit
6816a4b64a
2 changed files with 19 additions and 3 deletions
|
@ -1134,7 +1134,12 @@ function Catchup() {
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{!!title && (
|
{!!title && (
|
||||||
<h1 class="title" lang={language} dir="auto">
|
<h1
|
||||||
|
class="title"
|
||||||
|
lang={language}
|
||||||
|
dir="auto"
|
||||||
|
title={title}
|
||||||
|
>
|
||||||
{title}
|
{title}
|
||||||
</h1>
|
</h1>
|
||||||
)}
|
)}
|
||||||
|
@ -1144,6 +1149,7 @@ function Catchup() {
|
||||||
class="description"
|
class="description"
|
||||||
lang={language}
|
lang={language}
|
||||||
dir="auto"
|
dir="auto"
|
||||||
|
title={description}
|
||||||
>
|
>
|
||||||
{description}
|
{description}
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -217,13 +217,23 @@ function Trending({ columnMode, ...props }) {
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{!!title && (
|
{!!title && (
|
||||||
<h1 class="title" lang={language} dir="auto">
|
<h1
|
||||||
|
class="title"
|
||||||
|
lang={language}
|
||||||
|
dir="auto"
|
||||||
|
title={title}
|
||||||
|
>
|
||||||
{title}
|
{title}
|
||||||
</h1>
|
</h1>
|
||||||
)}
|
)}
|
||||||
</header>
|
</header>
|
||||||
{!!description && (
|
{!!description && (
|
||||||
<p class="description" lang={language} dir="auto">
|
<p
|
||||||
|
class="description"
|
||||||
|
lang={language}
|
||||||
|
dir="auto"
|
||||||
|
title={description}
|
||||||
|
>
|
||||||
{description}
|
{description}
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue