aboutsummaryrefslogtreecommitdiffstats
path: root/webui
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-03-21 13:32:08 +0100
committerSascha <GlancingMind@outlook.com>2021-03-21 17:46:12 +0100
commita332c085f82ddfc32adf581b0c907db6f2202d19 (patch)
tree1b0d1cab63836eb3dd83fa950d2749a0329d579a /webui
parent1e411f5abfffa3955504f700b5edbe7f74007ae2 (diff)
downloadgit-bug-a332c085f82ddfc32adf581b0c907db6f2202d19.tar.gz
Center navbar and disable unresolved navigations
Diffstat (limited to 'webui')
-rw-r--r--webui/src/components/Header/Header.tsx15
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>
);
}