mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-23 00:56:23 +01:00
Allow RTL for text inside cards
This commit is contained in:
parent
bd7e099f6e
commit
a10e2804ba
1 changed files with 10 additions and 3 deletions
|
@ -1555,6 +1555,7 @@ function Card({ card, instance }) {
|
|||
rel="nofollow noopener noreferrer"
|
||||
class={`card link ${blurhashImage ? '' : size}`}
|
||||
lang={language}
|
||||
dir="auto"
|
||||
>
|
||||
<div class="card-image">
|
||||
<img
|
||||
|
@ -1571,9 +1572,15 @@ function Card({ card, instance }) {
|
|||
/>
|
||||
</div>
|
||||
<div class="meta-container">
|
||||
<p class="meta domain">{domain}</p>
|
||||
<p class="title">{title}</p>
|
||||
<p class="meta">{description || providerName || authorName}</p>
|
||||
<p class="meta domain" dir="auto">
|
||||
{domain}
|
||||
</p>
|
||||
<p class="title" dir="auto">
|
||||
{title}
|
||||
</p>
|
||||
<p class="meta" dir="auto">
|
||||
{description || providerName || authorName}
|
||||
</p>
|
||||
</div>
|
||||
</a>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue