From 9eb1bf46d24ef204e335f5f49b0e8f5501cbc9f8 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

