aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/timeline/TimelineCard.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-06-30 19:00:13 +0800
committercrupest <crupest@outlook.com>2021-06-30 19:00:13 +0800
commitbb7a017dba4c466eaf167627b3605cf539b1e516 (patch)
tree28f155729e8a96b184a42b2a19cbd448e0f7ab3f /FrontEnd/src/views/timeline/TimelineCard.tsx
parent839daa0eac6fdbe84f45e8572e5ab07126b7d67c (diff)
downloadtimeline-bb7a017dba4c466eaf167627b3605cf539b1e516.tar.gz
timeline-bb7a017dba4c466eaf167627b3605cf539b1e516.tar.bz2
timeline-bb7a017dba4c466eaf167627b3605cf539b1e516.zip
...
Diffstat (limited to 'FrontEnd/src/views/timeline/TimelineCard.tsx')
-rw-r--r--FrontEnd/src/views/timeline/TimelineCard.tsx12
1 files changed, 7 insertions, 5 deletions
diff --git a/FrontEnd/src/views/timeline/TimelineCard.tsx b/FrontEnd/src/views/timeline/TimelineCard.tsx
index 311aa112..56057560 100644
--- a/FrontEnd/src/views/timeline/TimelineCard.tsx
+++ b/FrontEnd/src/views/timeline/TimelineCard.tsx
@@ -20,16 +20,18 @@ const TimelineCard: React.FC<TimelinePageCardProps> = (props) => {
<>
<h3 className="cru-color-primary d-inline-block align-middle">
{timeline.title}
- <small className="ms-3 text-secondary">{timeline.name}</small>
+ <small className="ms-3 cru-color-secondary">
+ {timeline.name}
+ </small>
</h3>
- <div className="align-middle">
+ <div>
<UserAvatar
username={timeline.owner.username}
- className="avatar small rounded-circle me-3"
+ className="cru-avatar small cru-round me-3"
/>
{timeline.owner.nickname}
- <small className="ms-3 text-secondary">
- src{timeline.owner.username}
+ <small className="ms-3 cru-color-secondary">
+ @{timeline.owner.username}
</small>
</div>
</>