prevent pagination buttons from getting selected, contain article errors

This commit is contained in:
Evert Prants 2020-11-16 22:48:27 +02:00
parent ccdeac5f13
commit 2981a78d42
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
2 changed files with 14 additions and 11 deletions

View File

@ -1,13 +1,15 @@
<h2>{{ article.title }}</h2>
<div class="intro" [innerHTML]="article.intro"></div>
<ng-container *ngIf="article.images.length">
<div class="image-wrapper">
<img src="{{ article.images[0].medium }}">
<ng-container *ngIf="article">
<h2>{{ article.title }}</h2>
<div class="intro" [innerHTML]="article.intro"></div>
<ng-container *ngIf="article.images.length">
<div class="image-wrapper">
<img src="{{ article.images[0].medium }}">
</div>
</ng-container>
<div class="content-wrapper" [innerHTML]="article.body"></div>
<div class="tags">
<ul>
<li *ngFor="let tag of article.tags">{{ tag }}</li>
</ul>
</div>
</ng-container>
<div class="content-wrapper" [innerHTML]="article.body"></div>
<div class="tags">
<ul>
<li *ngFor="let tag of article.tags">{{ tag }}</li>
</ul>
</div>

View File

@ -5,6 +5,7 @@
font-weight: 900
font-size: 16px
display: block
user-select: none
fa-icon, a
color: #666