Skip to content

Commit

Permalink
Adjusted Footer Position, Updated Layout to display children properly
Browse files Browse the repository at this point in the history
  • Loading branch information
chrtorres committed Apr 10, 2024
1 parent f98a4af commit 75e72b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const Layout: React.FC<LayoutProps> = ({ children }) => {
) : (
<>
<RSCHeader />
<div>{children}</div>
<div className={classes.content}>{children}</div>
<RSCFooter />
</>
)}
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/components/ReadySetCyber/RSCFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ import {
} from '@mui/material';
import cisaFooterLogo from './assets/cisa_footer_logo.png';
import { links } from './links';
import { fi } from 'date-fns/locale';

export const RSCFooter: React.FC = () => {
return (
<Box
sx={{
width: '100%',
height: '100vh',
display: 'flex',
position: 'relative',
bottom: 0,
justifyContent: 'center',
backgroundColor: '#005285',
paddingTop: '1em',
Expand Down

0 comments on commit 75e72b5

Please sign in to comment.