From a332c085f82ddfc32adf581b0c907db6f2202d19 Mon Sep 17 00:00:00 2001
From: Sascha <GlancingMind@outlook.com>
Date: Sun, 21 Mar 2021 13:32:08 +0100
Subject: Center navbar and disable unresolved navigations

---
 webui/src/components/Header/Header.tsx | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

(limited to 'webui/src/components/Header/Header.tsx')

diff --git a/webui/src/components/Header/Header.tsx b/webui/src/components/Header/Header.tsx
index 8e9b6697..1fe7504f 100644
--- a/webui/src/components/Header/Header.tsx
+++ b/webui/src/components/Header/Header.tsx
@@ -55,22 +55,27 @@ function NavTabs() {
 
   return (
     <Tabs
-      variant="fullWidth"
+      centered
       value={value}
       onChange={handleChange}
       aria-label="nav tabs example"
     >
-      <Tab label="Code" component="a" href="/code" {...a11yProps(0)} />
+      <Tab disabled label="Code" component="a" href="/code" {...a11yProps(0)} />
       <Tab label="Bugs" component="a" href="/" {...a11yProps(1)} />
       <Tab
+        disabled
         label="Pull Requests"
         component="a"
         href="/pulls"
         {...a11yProps(2)}
       />
-      <Tab label="Projects" component="a" href="/projects" {...a11yProps(3)} />
-      <Tab label="Wiki" component="a" href="/wiki" {...a11yProps(4)} />
-      <Tab label="Settings" component="a" href="/settings" {...a11yProps(5)} />
+      <Tab
+        disabled
+        label="Settings"
+        component="a"
+        href="/settings"
+        {...a11yProps(3)}
+      />
     </Tabs>
   );
 }
-- 
cgit 

