💄 Better app bar
This commit is contained in:
parent
dc16fbfc69
commit
799fa2e475
@ -11,7 +11,7 @@ export function CapAppBar() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Box sx={{ flexGrow: 1 }}>
|
<Box sx={{ flexGrow: 1 }}>
|
||||||
<AppBar position="static" elevation={0} color={'transparent'}>
|
<AppBar position="absolute" elevation={0} color={'transparent'}>
|
||||||
<Toolbar>
|
<Toolbar>
|
||||||
<IconButton size="large" edge="start" color="inherit" aria-label="menu" sx={{ mr: 2 }}>
|
<IconButton size="large" edge="start" color="inherit" aria-label="menu" sx={{ mr: 2 }}>
|
||||||
<MenuIcon />
|
<MenuIcon />
|
||||||
|
@ -43,7 +43,7 @@ export default function App({ Component, pageProps }: AppProps) {
|
|||||||
<CssBaseline />
|
<CssBaseline />
|
||||||
|
|
||||||
<CapAppBar />
|
<CapAppBar />
|
||||||
<Box sx={{ height: 'calc(100vh - 64px)' }}>
|
<Box sx={{ height: '100vh' }}>
|
||||||
<Component {...pageProps} />
|
<Component {...pageProps} />
|
||||||
</Box>
|
</Box>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user