diff options
author | crupest <crupest@outlook.com> | 2020-11-04 11:49:15 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-11-04 11:49:15 +0800 |
commit | 34221c8c6d34e565c4c9d82413ac4a20356d8f78 (patch) | |
tree | d40526fbcc38baa7e9ad701f2730026a88c9b079 /FrontEnd/src/app/views/timeline-common/Timeline.tsx | |
parent | 8e836f4bee040d83a195255073fd318c07277744 (diff) | |
download | timeline-34221c8c6d34e565c4c9d82413ac4a20356d8f78.tar.gz timeline-34221c8c6d34e565c4c9d82413ac4a20356d8f78.tar.bz2 timeline-34221c8c6d34e565c4c9d82413ac4a20356d8f78.zip |
feat: Redesign timeline page.
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/Timeline.tsx')
-rw-r--r-- | FrontEnd/src/app/views/timeline-common/Timeline.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/Timeline.tsx b/FrontEnd/src/app/views/timeline-common/Timeline.tsx index fd051d45..6bd1b96d 100644 --- a/FrontEnd/src/app/views/timeline-common/Timeline.tsx +++ b/FrontEnd/src/app/views/timeline-common/Timeline.tsx @@ -4,6 +4,7 @@ import clsx from "clsx"; import { TimelinePostInfo } from "@/services/timeline"; import TimelineItem from "./TimelineItem"; +import TimelineTop from "./TimelineTop"; export interface TimelinePostInfoEx extends TimelinePostInfo { deletable: boolean; @@ -52,6 +53,7 @@ const Timeline: React.FC<TimelineProps> = (props) => { return ( <div ref={props.containerRef} className={clsx("timeline", props.className)}> + <TimelineTop height="56px" /> {(() => { const length = posts.length; return posts.map((post, i) => { |