diff options
author | crupest <crupest@outlook.com> | 2020-11-03 22:17:20 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-11-03 22:17:20 +0800 |
commit | af8c7de13bcaa0bf1b413966c914974eca079b4d (patch) | |
tree | 3765164b8afad8cc2594d3111d5f82d3afe88a74 /FrontEnd/src/app/views/timeline | |
parent | c01964d51c2f2f7ee8f07e857fd4a7292b048905 (diff) | |
download | timeline-af8c7de13bcaa0bf1b413966c914974eca079b4d.tar.gz timeline-af8c7de13bcaa0bf1b413966c914974eca079b4d.tar.bz2 timeline-af8c7de13bcaa0bf1b413966c914974eca079b4d.zip |
feat: Add title to timeline.
Diffstat (limited to 'FrontEnd/src/app/views/timeline')
-rw-r--r-- | FrontEnd/src/app/views/timeline/TimelineInfoCard.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/FrontEnd/src/app/views/timeline/TimelineInfoCard.tsx b/FrontEnd/src/app/views/timeline/TimelineInfoCard.tsx index 2d787709..abc3d0c9 100644 --- a/FrontEnd/src/app/views/timeline/TimelineInfoCard.tsx +++ b/FrontEnd/src/app/views/timeline/TimelineInfoCard.tsx @@ -37,10 +37,11 @@ const TimelineInfoCard: React.FC<TimelineInfoCardProps> = (props) => { toggleCollapse={toggleCollapse} > <h3 className="text-primary mx-3 d-inline-block align-middle"> - {timeline.name} + {timeline.title} + <small className="ml-3 text-secondary">{timeline.name}</small> </h3> - <div className="d-inline-block align-middle"> - <BlobImage blob={avatar} className="avatar small rounded-circle" /> + <div className="align-middle"> + <BlobImage blob={avatar} className="avatar small rounded-circle mr-3" /> {timeline.owner.nickname} <small className="ml-3 text-secondary"> @{timeline.owner.username} |