diff --git a/src/app/components/feed/postlist/postlist.component.html b/src/app/components/feed/postlist/postlist.component.html index 96e01cd..a323d42 100644 --- a/src/app/components/feed/postlist/postlist.component.html +++ b/src/app/components/feed/postlist/postlist.component.html @@ -27,7 +27,7 @@
- {{post.activity.points}} points earned through {{post.activity.name}} + +{{post.activity.points}} points with {{post.activity.name}}
@@ -44,7 +44,7 @@
- {{post.activity.points}} points earned through {{post.activity.name}} + {{post.activity.points}} points earned with {{post.activity.name}}
diff --git a/src/app/components/feed/postlist/postlist.component.sass b/src/app/components/feed/postlist/postlist.component.sass index 1e29e4a..7c486e9 100644 --- a/src/app/components/feed/postlist/postlist.component.sass +++ b/src/app/components/feed/postlist/postlist.component.sass @@ -8,6 +8,7 @@ $mat-card-header-size: 40px !default margin-top: 0.5em outline: none user-select: none + overflow-x: hidden ::ng-deep .mat-card-header-text margin-top: 10px @@ -32,6 +33,9 @@ $mat-card-header-size: 40px !default text-decoration: underline cursor: pointer + .postlistUsername + cursor: pointer + .postVoteButtons display: inline-block @@ -60,8 +64,7 @@ $mat-card-header-size: 40px !default .mat-button min-width: 32px !important padding: 0 - margin: 0 - margin-left: 8px + margin: 0 0 0 8px .profile-picture border-radius: 50% @@ -87,7 +90,6 @@ $mat-card-header-size: 40px !default @media (max-width: 959px) .activity-info > .span margin-left: 1em - width: calc(100% - 1em) display: block text-align: left .postVoteButtons @@ -101,7 +103,7 @@ $mat-card-header-size: 40px !default scale: 1.1 .mat-card-actions - display: flex + display: -webkit-box justify-content: end align-items: center diff --git a/src/app/services/feed/feed.service.ts b/src/app/services/feed/feed.service.ts index 62aea92..1689b91 100644 --- a/src/app/services/feed/feed.service.ts +++ b/src/app/services/feed/feed.service.ts @@ -257,7 +257,7 @@ export class FeedService extends BaseService { } } this.posts.next(posts); - if (posts.length < this.offsetStep) { + if (response.data.getPosts.length < this.offsetStep) { this.postsAvailable.next(false); } });