Skip to content

Commit

Permalink
fix header and main layout
Browse files Browse the repository at this point in the history
  • Loading branch information
alongoni committed Dec 20, 2023
1 parent 6525c90 commit b844f6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/layout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { VerticalMenuBar } from "./VerticalMenuBar";
const ContentWrapper = styled(Box)<BoxProps & { drawerwidth: number }>(
({ theme, drawerwidth }) => ({
width: "100%",
paddingTop: theme.spacing(2),
paddingTop: theme.spacing(10),
paddingLeft: theme.spacing(scalePixels(drawerwidth) + 4),
paddingRight: theme.spacing(4),
[theme.breakpoints.up("xl")]: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function TopBar({
buttonActionComponent?: React.ReactNode;
}) {
return (
<AppBar elevation={0} position="static">
<AppBar elevation={0} position="fixed">
<Toolbar>
<Stack direction="row" gap={1} sx={{ flexGrow: 1 }}>
<Link href={ROUTES.Home} passHref>
Expand Down

0 comments on commit b844f6f

Please sign in to comment.