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 | f7fff0c89a18cf5ed70dd5993ca7413e4d94daa4 (patch) | |
tree | d57081d61c85c667ff083ef5239af5c50fb13dba /FrontEnd/src/app/views/timeline-common/Timeline.tsx | |
parent | d7d249fc55c16eec75426675038d52287dcc67d7 (diff) | |
download | timeline-f7fff0c89a18cf5ed70dd5993ca7413e4d94daa4.tar.gz timeline-f7fff0c89a18cf5ed70dd5993ca7413e4d94daa4.tar.bz2 timeline-f7fff0c89a18cf5ed70dd5993ca7413e4d94daa4.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) => { |