From 94bed82d32265d573e3bc47582874360a0481b34 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Thu, 5 Nov 2020 17:17:52 +0800
Subject: feat: Fix #168 .

---
 FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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

diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx
index 036577b1..f27171f5 100644
--- a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx
+++ b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx
@@ -174,9 +174,6 @@ export default function TimelinePageTemplateUI<TManageItems>(
 
           timelineBody = (
             <Timeline
-              style={{
-                minHeight: `calc(100vh - 56px - ${bottomSpaceHeight}px)`,
-              }}
               containerRef={timelineRef}
               posts={posts}
               onDelete={props.onDelete}
@@ -219,6 +216,7 @@ export default function TimelinePageTemplateUI<TManageItems>(
 
       body = (
         <>
+          <div className="timeline-background" />
           <CardComponent
             className="timeline-template-card"
             timeline={timeline}
-- 
cgit v1.2.3

