diff options
author | crupest <crupest@outlook.com> | 2021-05-06 15:44:52 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-05-06 15:44:52 +0800 |
commit | 0801fc5af7c21822a9575bcebe8eaf03c5adc7f4 (patch) | |
tree | a3675913b9dc3fe9cbd343120ed16b5172b41782 /FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx | |
parent | 7f87f177ab07bcf26c46128b9d19a5962d7abe5d (diff) | |
parent | d4ecfedd9b8fa203ec5461a758e83991823d2d1c (diff) | |
download | timeline-0801fc5af7c21822a9575bcebe8eaf03c5adc7f4.tar.gz timeline-0801fc5af7c21822a9575bcebe8eaf03c5adc7f4.tar.bz2 timeline-0801fc5af7c21822a9575bcebe8eaf03c5adc7f4.zip |
Merge branch 'dependabot/npm_and_yarn/FrontEnd/bootstrap-5.0.0'
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx')
-rw-r--r-- | FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx index 295ee3b9..6bd6ea98 100644 --- a/FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx +++ b/FrontEnd/src/app/views/timeline-common/TimelinePostView.tsx @@ -55,7 +55,7 @@ const TimelinePostView: React.FC<TimelinePostViewProps> = (props) => { <div ref={cardRef} className="timeline-item-card" style={cardStyle}> {post.editable ? ( <i - className="bi-chevron-down text-info icon-button float-right" + className="bi-chevron-down text-info icon-button float-end" onClick={(e) => { setOperationMaskVisible(true); e.stopPropagation(); @@ -63,15 +63,15 @@ const TimelinePostView: React.FC<TimelinePostViewProps> = (props) => { /> ) : null} <div className="timeline-item-header"> - <span className="mr-2"> + <span className="me-2"> <span> <Link to={"/users/" + props.post.author.username}> <UserAvatar username={post.author.username} - className="timeline-avatar mr-1" + className="timeline-avatar me-1" /> </Link> - <small className="text-dark mr-2">{post.author.nickname}</small> + <small className="text-dark me-2">{post.author.nickname}</small> <small className="text-secondary white-space-no-wrap"> {new Date(post.time).toLocaleTimeString()} </small> |