From ee3269c4589e8d5f25c08516deb48c165cab8253 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 18 Dec 2019 14:08:01 +0100 Subject: [PATCH] post date is in first line now --- src/app/components/feed/postlist/postlist.component.html | 4 ++-- src/app/components/feed/postlist/postlist.component.sass | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/components/feed/postlist/postlist.component.html b/src/app/components/feed/postlist/postlist.component.html index 1d3704a..7fc67fe 100644 --- a/src/app/components/feed/postlist/postlist.component.html +++ b/src/app/components/feed/postlist/postlist.component.html @@ -24,10 +24,10 @@ {{post.author.name}} - @{{post.author.handle}} + @{{post.author.handle}} +

{{post.date}}

-

{{post.date}}

diff --git a/src/app/components/feed/postlist/postlist.component.sass b/src/app/components/feed/postlist/postlist.component.sass index d185fb3..82c6ed1 100644 --- a/src/app/components/feed/postlist/postlist.component.sass +++ b/src/app/components/feed/postlist/postlist.component.sass @@ -5,8 +5,9 @@ box-sizing: border-box width: 100% margin-top: 0.5em - ::ng-deep .mat-card-header-text margin: 0px + .mat-card-subtitle + display: contents