mirror of
https://github.com/NicolasConstant/sengi
synced 2025-01-06 13:57:13 +01:00
fixed link preview display
This commit is contained in:
parent
bd2d02f110
commit
84b0006858
@ -1,5 +1,5 @@
|
||||
<div class="card">
|
||||
<a *ngIf="card.type === 'link'" class="card__link" href="{{ card.url }}" target="_blank">
|
||||
<a *ngIf="card.type === 'link'" class="card__link" href="{{ card.url }}" target="_blank" title="{{ card.title }}">
|
||||
<img *ngIf="card.image" class="card__link--image" src="{{ card.image }}" alt="" />
|
||||
<div *ngIf="!card.image" class="card__link--image">
|
||||
<fa-icon class="card__link--image--logo" [icon]="faFileAlt"></fa-icon>
|
||||
|
@ -35,12 +35,12 @@
|
||||
}
|
||||
|
||||
&--title {
|
||||
margin: 10px 0 0 0px;
|
||||
margin: 7px 0 0 0px;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
&--host {
|
||||
margin: 10px 0 0 0px;
|
||||
margin: 11px 0 0 0px;
|
||||
font-size: 0.8em;
|
||||
opacity: .7;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user