summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorMichael Hunteman <michael@huntm.net>2024-02-16 13:50:22 -0600
committerMichael Hunteman <michael@huntm.net>2024-02-16 13:50:22 -0600
commita77b6ad6950a3bcf0e0c5a56e1881432037fa498 (patch)
treebd700b77bea10121267899a2b9a66f851409654e /src/components
parent2f45fbbc1972ed6a526870c35d36778e44eb8cad (diff)
Don't use contain buttons
Diffstat (limited to 'src/components')
-rw-r--r--src/components/NavBar.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/NavBar.tsx b/src/components/NavBar.tsx
index c8cb136..a4b46c8 100644
--- a/src/components/NavBar.tsx
+++ b/src/components/NavBar.tsx
@@ -35,13 +35,13 @@ function NavBar({ mode }) {
>
Madison and Michael's Wedding
</Typography>
- <Stack spacing={2} direction="row" sx={{ marginLeft: 'auto' }}>
+ <Stack direction="row" sx={{ marginLeft: 'auto' }}>
{pages.map((page) => (
- <Button component={Link} to={page.to} key={page.name} variant="contained">
+ <Button color="inherit" component={Link} to={page.to} key={page.name}>
{page.name}
</Button>
))}
- <IconButton variant="contained" color="inherit" onClick={switchColorMode}>
+ <IconButton color="inherit" onClick={switchColorMode}>
{theme.palette.mode === 'dark' ? <DarkModeIcon /> : <LightModeIcon />}
</IconButton>
</Stack>