From 3b7e48a5397aa7876e0ef0366d0125702a7fa83f Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Sun, 14 Feb 2021 17:35:34 +0800
Subject: feat: Timeline top is back.

---
 FrontEnd/src/app/views/timeline-common/Timeline.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'FrontEnd/src/app/views/timeline-common/Timeline.tsx')

diff --git a/FrontEnd/src/app/views/timeline-common/Timeline.tsx b/FrontEnd/src/app/views/timeline-common/Timeline.tsx
index 07ca2924..d40f8e94 100644
--- a/FrontEnd/src/app/views/timeline-common/Timeline.tsx
+++ b/FrontEnd/src/app/views/timeline-common/Timeline.tsx
@@ -12,6 +12,7 @@ import TimelinePostListView from "./TimelinePostListView";
 export interface TimelineProps {
   className?: string;
   style?: React.CSSProperties;
+  top?: string | number;
   timelineName: string;
   reloadKey: number;
   onReload: () => void;
@@ -24,6 +25,7 @@ const Timeline: React.FC<TimelineProps> = (props) => {
     timelineName,
     className,
     style,
+    top,
     reloadKey,
     onReload,
     additionalPosts,
@@ -110,6 +112,7 @@ const Timeline: React.FC<TimelineProps> = (props) => {
       return (
         <TimelinePostListView
           posts={[...posts, ...(additionalPosts ?? [])]}
+          top={top}
           onReload={onReload}
         />
       );
-- 
cgit v1.2.3

