summaryrefslogtreecommitdiff
path: root/client/src/components/Mobile.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/components/Mobile.tsx')
-rw-r--r--client/src/components/Mobile.tsx10
1 files changed, 3 insertions, 7 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>
);
}