summaryrefslogtreecommitdiff
path: root/client/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/components')
-rw-r--r--client/src/components/Mobile.tsx10
-rw-r--r--client/src/components/NavBar.tsx2
2 files changed, 4 insertions, 8 deletions
diff --git a/client/src/components/Mobile.tsx b/client/src/components/Mobile.tsx
index 7d790e1..38aa20b 100644
--- a/client/src/components/Mobile.tsx
+++ b/client/src/components/Mobile.tsx
@@ -23,15 +23,11 @@ function Mobile() {
};
return (
- <>
+ <div style={{ marginLeft: 'auto' }}>
<IconButton color="inherit" onClick={toggleColorMode}>
{theme.palette.mode === 'dark' ? <DarkModeIcon /> : <LightModeIcon />}
</IconButton>
- <IconButton
- color="inherit"
- sx={{ ml: 'auto' }}
- onClick={handleOpenNavMenu}
- >
+ <IconButton color="inherit" onClick={handleOpenNavMenu}>
<MenuIcon />
</IconButton>
<Menu anchorEl={anchorEl} open={!!anchorEl} onClose={handleCloseNavMenu}>
@@ -48,7 +44,7 @@ function Mobile() {
</MenuItem>
))}
</Menu>
- </>
+ </div>
);
}
diff --git a/client/src/components/NavBar.tsx b/client/src/components/NavBar.tsx
index 52e8e6c..a8e0a14 100644
--- a/client/src/components/NavBar.tsx
+++ b/client/src/components/NavBar.tsx
@@ -18,7 +18,7 @@ function NavBar() {
color="inherit"
sx={{ textDecoration: 'none' }}
>
- Madison and Michael's Wedding
+ Madison and Michael
</Typography>
{isMobile ? <Mobile /> : <Desktop />}
</Toolbar>