Skip to content

Commit

Permalink
Update footer styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Keskimaki committed May 5, 2023
1 parent b3d3d0c commit c26579e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/client/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const App = () => {
return (
<ThemeProvider theme={theme}>
<SnackbarProvider preventDuplicate>
<Box>
<Box minHeight="100vh" display="flex" flexDirection="column">
<NavBar />
<Router />
<Footer />
Expand Down
2 changes: 1 addition & 1 deletion src/client/components/Chat/Email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const Email = ({ system, messages, disabled }: { system: string, messages: Messa
if (response.ok) {
enqueueSnackbar(t('email:success'), { variant: 'success' })
} else {
enqueueSnackbar('email:failure', { variant: 'error' })
enqueueSnackbar(t('email:failure'), { variant: 'error' })
}
}

Expand Down
3 changes: 1 addition & 2 deletions src/client/components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ const Footer = () => {
sx={(theme) => ({
backgroundColor: theme.palette.toskaDark.main,
color: theme.palette.toskaDark.contrastText,
bottom: 0,
position: 'fixed',
mt: 'auto',
width: '100%',
})}
>
Expand Down

0 comments on commit c26579e

Please sign in to comment.