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 | 1ecd77cf83049792d0d6380f0f65f9400e78c403 (patch) | |
tree | e5264b55769cceac3ec53668ba8c044efbe61c15 /FrontEnd/src/app/views/timeline | |
parent | a69ee3f38432af653ed96efd96f5f7682b3ebf24 (diff) | |
download | timeline-1ecd77cf83049792d0d6380f0f65f9400e78c403.tar.gz timeline-1ecd77cf83049792d0d6380f0f65f9400e78c403.tar.bz2 timeline-1ecd77cf83049792d0d6380f0f65f9400e78c403.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} |