1
0
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:
Nicolas Constant 2019-05-16 00:02:13 -04:00
parent bd2d02f110
commit 84b0006858
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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;
}