diff options
author | Sascha <GlancingMind@outlook.com> | 2021-03-21 13:32:08 +0100 |
---|---|---|
committer | Sascha <GlancingMind@outlook.com> | 2021-03-21 17:46:12 +0100 |
commit | a332c085f82ddfc32adf581b0c907db6f2202d19 (patch) | |
tree | 1b0d1cab63836eb3dd83fa950d2749a0329d579a /webui/src/components/Header/Header.tsx | |
parent | 1e411f5abfffa3955504f700b5edbe7f74007ae2 (diff) | |
download | git-bug-a332c085f82ddfc32adf581b0c907db6f2202d19.tar.gz |
Center navbar and disable unresolved navigations
Diffstat (limited to 'webui/src/components/Header/Header.tsx')
-rw-r--r-- | webui/src/components/Header/Header.tsx | 15 |
1 files changed, 10 insertions, 5 deletions
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> ); } |