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> <ng-container *ngIf="article">
<div class="intro" [innerHTML]="article.intro"></div> <h2>{{ article.title }}</h2>
<ng-container *ngIf="article.images.length"> <div class="intro" [innerHTML]="article.intro"></div>
<div class="image-wrapper"> <ng-container *ngIf="article.images.length">
<img src="{{ article.images[0].medium }}"> <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> </div>
</ng-container> </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-weight: 900
font-size: 16px font-size: 16px
display: block display: block
user-select: none
fa-icon, a fa-icon, a
color: #666 color: #666