diff options
author | crupest <crupest@outlook.com> | 2020-11-03 22:56:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 22:56:16 +0800 |
commit | fc3c2de7b4f431f0edcabb5ead2a2e1aa79d665a (patch) | |
tree | 92a0f98cde935b5408e5958f8070d1021eb1ef3c /FrontEnd/src/app/views/timeline/TimelineInfoCard.tsx | |
parent | f3236eaf28c878db2b45377ac8805b014960c662 (diff) | |
parent | d308724286d7d34f71490999b656160e439bfc9f (diff) | |
download | timeline-fc3c2de7b4f431f0edcabb5ead2a2e1aa79d665a.tar.gz timeline-fc3c2de7b4f431f0edcabb5ead2a2e1aa79d665a.tar.bz2 timeline-fc3c2de7b4f431f0edcabb5ead2a2e1aa79d665a.zip |
Merge pull request #162 from crupest/front
Add timeline title to front end.
Diffstat (limited to 'FrontEnd/src/app/views/timeline/TimelineInfoCard.tsx')
-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} |