From 2493232c8491b51c26e3841f99ae5a18d23f8560 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Tue, 17 Nov 2020 17:31:42 +0800
Subject: ...

---
 FrontEnd/src/app/views/admin/AdminSubPage.tsx | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

(limited to 'FrontEnd/src/app/views/admin/AdminSubPage.tsx')

diff --git a/FrontEnd/src/app/views/admin/AdminSubPage.tsx b/FrontEnd/src/app/views/admin/AdminSubPage.tsx
index 5d2df13c..5efe1ee3 100644
--- a/FrontEnd/src/app/views/admin/AdminSubPage.tsx
+++ b/FrontEnd/src/app/views/admin/AdminSubPage.tsx
@@ -1,5 +1,5 @@
 import React from "react";
-import { Nav } from "react-bootstrap";
+import { Container, Nav } from "react-bootstrap";
 import { useHistory, useRouteMatch } from "react-router";
 
 const AdminSubPage: React.FC = ({ children }) => {
@@ -13,8 +13,8 @@ const AdminSubPage: React.FC = ({ children }) => {
   }
 
   return (
-    <>
-      <Nav variant="tabs">
+    <Container>
+      <Nav variant="tabs" className="my-2">
         <Nav.Item>
           <Nav.Link
             active={name === "users"}
@@ -25,19 +25,9 @@ const AdminSubPage: React.FC = ({ children }) => {
             Users
           </Nav.Link>
         </Nav.Item>
-        <Nav.Item>
-          <Nav.Link
-            active={name === "more"}
-            onClick={() => {
-              toggle("more");
-            }}
-          >
-            More
-          </Nav.Link>
-        </Nav.Item>
       </Nav>
       {children}
-    </>
+    </Container>
   );
 };
 
-- 
cgit v1.2.3

