From fbbe8660d7d4fb9e5363e80b959302b41a013d1b Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Wed, 10 Jun 2020 15:31:51 +0800
Subject: feat(front): Fix #92 .

---
 Timeline/ClientApp/src/timeline/TimelinePageTemplateUI.tsx | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

(limited to 'Timeline/ClientApp/src/timeline/TimelinePageTemplateUI.tsx')

diff --git a/Timeline/ClientApp/src/timeline/TimelinePageTemplateUI.tsx b/Timeline/ClientApp/src/timeline/TimelinePageTemplateUI.tsx
index a246c0ce..bf87b706 100644
--- a/Timeline/ClientApp/src/timeline/TimelinePageTemplateUI.tsx
+++ b/Timeline/ClientApp/src/timeline/TimelinePageTemplateUI.tsx
@@ -151,7 +151,11 @@ export default function TimelinePageTemplateUI<
           }
         }
       } else {
-        timelineBody = <Spinner />;
+        timelineBody = (
+          <div className="full-viewport-center-child">
+            <Spinner color="primary" type="grow" />
+          </div>
+        );
       }
       const { CardComponent } = props;
 
@@ -185,7 +189,11 @@ export default function TimelinePageTemplateUI<
         </>
       );
     } else {
-      body = <Spinner />;
+      body = (
+        <div className="full-viewport-center-child">
+          <Spinner color="primary" type="grow" />
+        </div>
+      );
     }
   }
 
-- 
cgit v1.2.3

