aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app/components/feed/feed.component.html2
-rw-r--r--src/app/components/profile/profile.component.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/app/components/feed/feed.component.html b/src/app/components/feed/feed.component.html
index 3b5b69b..fb969da 100644
--- a/src/app/components/feed/feed.component.html
+++ b/src/app/components/feed/feed.component.html
@@ -25,7 +25,7 @@
</form>
<hr class="card-hr">
<section id="posts" (scroll)="onScroll($event)">
- <div id="no-posts-msg" *ngIf="posts.length === 0">
+ <div class="text-centered" *ngIf="posts.length === 0">
None of your friends have posted anything yet!<br>
Try refreshing your page!
</div>
diff --git a/src/app/components/profile/profile.component.html b/src/app/components/profile/profile.component.html
index 7632620..8d157b3 100644
--- a/src/app/components/profile/profile.component.html
+++ b/src/app/components/profile/profile.component.html
@@ -49,7 +49,7 @@
</section>
<hr class="card-hr">
<section>
- <div *ngIf="userPosts.length === 0">
+ <div class="text-centered" *ngIf="userPosts.length === 0">
{{ user.firstName }} {{ user.lastName }} hasn't posted anything yet!
</div>
<div *ngFor="let userPost of userPosts; let i = index">