mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Updated sticky header logic.
This commit is contained in:
parent
45c13da262
commit
f062cdbed2
8 changed files with 31 additions and 24 deletions
|
|
@ -19,7 +19,7 @@ export default function AppLayout({ title, children }) {
|
|||
<div className={styles.nav}>
|
||||
<NavBar />
|
||||
</div>
|
||||
<div className={styles.body}>
|
||||
<div className={styles.body} id="layout-body">
|
||||
<Container>
|
||||
<main>{children}</main>
|
||||
</Container>
|
||||
|
|
|
|||
|
|
@ -6,11 +6,10 @@
|
|||
|
||||
.nav {
|
||||
grid-row: 1 / 3;
|
||||
height: 100vh;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.body {
|
||||
grid-area: 1 / 2;
|
||||
overflow: auto;
|
||||
height: 100vh;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue