Skip to content

Commit 378bac8

Browse files
committed
post header name fix word break
1 parent a6306c5 commit 378bac8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/app/post-details/post-details.component.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,8 @@
6969
.twitter-share a {
7070
background-color: #1da1f2;
7171
width: 30px;
72+
}
73+
74+
.post-name{
75+
word-break: break-word;
7276
}

src/app/post-details/post-details.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<i class="fa fa-calendar"> {{ post?.createdAt | date:'dd/MM/yyyy' }}</i>
88
</p>
99
<div class="mb-4">
10-
<h3>{{ post.name }}</h3>
10+
<h3 class="post-name">{{ post.name }}</h3>
1111
</div>
1212

1313
<p class="card-text mb-2">{{ post?.description }}</p>

0 commit comments

Comments
 (0)