post date is in first line now #64

master
Max 5 years ago
parent 3f8a8d6b4a
commit d5cdf3947f

@ -24,10 +24,10 @@
<!-- <div mat-card-avatar class="example-header-image"></div> --> <!-- <div mat-card-avatar class="example-header-image"></div> -->
<mat-card-title> <mat-card-title>
{{post.author.name}} {{post.author.name}}
<a mat-button class="handle" routerLink="/profile/{{post.author.id}}">@{{post.author.handle}}</a> <a mat-button routerLink="/profile/{{post.author.id}}">@{{post.author.handle}}</a>
<p class="mat-card-subtitle">{{post.date}}</p>
</mat-card-title> </mat-card-title>
<mat-card-subtitle> <mat-card-subtitle>
<p>{{post.date}}</p>
</mat-card-subtitle> </mat-card-subtitle>
</mat-card-header> </mat-card-header>
<!--<img mat-card-image src="https://material.angular.io/assets/img/examples/shiba2.jpg" alt="Photo of a Shiba Inu">--> <!--<img mat-card-image src="https://material.angular.io/assets/img/examples/shiba2.jpg" alt="Photo of a Shiba Inu">-->

@ -5,8 +5,9 @@
box-sizing: border-box box-sizing: border-box
width: 100% width: 100%
margin-top: 0.5em margin-top: 0.5em
::ng-deep .mat-card-header-text ::ng-deep .mat-card-header-text
margin: 0px margin: 0px
.mat-card-subtitle
display: contents

Loading…
Cancel
Save