"more"completely working
This commit is contained in:
parent
5fb1bc484f
commit
87fc79fafe
@ -16,11 +16,12 @@
|
|||||||
|
|
||||||
<div class="more" *ngIf="shortVersion === true">
|
<div class="more" *ngIf="shortVersion === true">
|
||||||
<a routerLink="../post/{{post.id}}">
|
<a routerLink="../post/{{post.id}}">
|
||||||
|
<!--<i class="fa fa-file"></i>-->
|
||||||
<app-languagetoggle [language]="'en'">
|
<app-languagetoggle [language]="'en'">
|
||||||
more
|
> full post
|
||||||
</app-languagetoggle>
|
</app-languagetoggle>
|
||||||
<app-languagetoggle [language]="'nl'">
|
<app-languagetoggle [language]="'nl'">
|
||||||
meer
|
> volle post
|
||||||
</app-languagetoggle>
|
</app-languagetoggle>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -42,6 +42,15 @@
|
|||||||
border-right: 1px solid black;
|
border-right: 1px solid black;
|
||||||
padding-right: 25px;
|
padding-right: 25px;
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
This is a work-around for the innerHTML. Apparently, angular can style this is :host ::ng-deep is added. Fucked up.
|
||||||
|
*/
|
||||||
|
:host ::ng-deep .post-body p:last-child {
|
||||||
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-tag {
|
.post-tag {
|
||||||
@ -56,5 +65,7 @@
|
|||||||
|
|
||||||
.more {
|
.more {
|
||||||
border-left: 1px solid black;
|
border-left: 1px solid black;
|
||||||
|
border-right: 1px solid black;
|
||||||
padding-left: 25px;
|
padding-left: 25px;
|
||||||
|
padding-top: 10px;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
<p>Dit is een test post.</p>
|
<p>Dit is een test post.</p>
|
||||||
|
<p>Dit is een test post.</p>
|
||||||
|
<p>Dit is een test post.</p>
|
||||||
|
<p>Dit is een test post.</p>
|
||||||
<splitter/>
|
<splitter/>
|
||||||
|
|
||||||
<p>En dit is de tweede paragraaf!</p>
|
<p>En dit is de tweede paragraaf!</p>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user