mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-30 21:13:42 +03:00
Add small link icon for imageless link cards
This commit is contained in:
parent
d36ea02a02
commit
6b8ae97d98
2 changed files with 6 additions and 1 deletions
|
@ -1015,6 +1015,9 @@ a:focus-visible .card img {
|
|||
overflow: hidden;
|
||||
display: block;
|
||||
}
|
||||
.card .meta.domain * {
|
||||
vertical-align: middle;
|
||||
}
|
||||
a.card {
|
||||
text-decoration: none;
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
|
|
|
@ -1541,7 +1541,9 @@ function Card({ card, instance }) {
|
|||
class={`card link no-image`}
|
||||
>
|
||||
<div class="meta-container">
|
||||
<p class="meta domain">{domain}</p>
|
||||
<p class="meta domain">
|
||||
<Icon icon="link" size="s" /> <span>{domain}</span>
|
||||
</p>
|
||||
<p class="title">{title}</p>
|
||||
<p class="meta">{description || providerName || authorName}</p>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue