aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/timeline/TimelineItem.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-16 17:05:37 +0800
committercrupest <crupest@outlook.com>2020-06-16 17:05:37 +0800
commit74032c5b506b69a4b2799e9373ab10ce2e86092b (patch)
tree545f12232c87abdd1b08ab6de40014a18910a597 /Timeline/ClientApp/src/app/timeline/TimelineItem.tsx
parenteea8d50ba92467f91e76928776491fad879fe30b (diff)
downloadtimeline-74032c5b506b69a4b2799e9373ab10ce2e86092b.tar.gz
timeline-74032c5b506b69a4b2799e9373ab10ce2e86092b.tar.bz2
timeline-74032c5b506b69a4b2799e9373ab10ce2e86092b.zip
fix(front): Truly fix the layout bug when last post is short.
Diffstat (limited to 'Timeline/ClientApp/src/app/timeline/TimelineItem.tsx')
-rw-r--r--Timeline/ClientApp/src/app/timeline/TimelineItem.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline/ClientApp/src/app/timeline/TimelineItem.tsx b/Timeline/ClientApp/src/app/timeline/TimelineItem.tsx
index 79b9a400..43e206f1 100644
--- a/Timeline/ClientApp/src/app/timeline/TimelineItem.tsx
+++ b/Timeline/ClientApp/src/app/timeline/TimelineItem.tsx
@@ -125,7 +125,7 @@ const TimelineItem: React.FC<TimelineItemProps> = (props) => {
</div>
) : null}
</Row>
- <p className="row d-block mb-0 timeline-content clearfix">
+ <div className="row d-block timeline-content">
<Link
className="float-right float-sm-left mx-2"
to={'/users/' + props.post.author.username}
@@ -146,7 +146,7 @@ const TimelineItem: React.FC<TimelineItemProps> = (props) => {
);
}
})()}
- </p>
+ </div>
</Col>
{more != null && more.isOpen ? (
<>