Skip to content

Commit

Permalink
Fix initial height
Browse files Browse the repository at this point in the history
  • Loading branch information
mekanix committed Feb 19, 2025
1 parent f62b5ec commit 7545e4f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/freenit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -418,16 +418,18 @@ EOF
<MenuItems {toggle} {logout} {store} />
</LeftPane>
<MenuBar {toggle} title="${NAME}" />
<section class="root">
<MenuBar {toggle} title="${NAME}" />
<div class="main">
{@render children?.()}
</div>
</section>
<style>
.root {
height: 100vh;
height: 100dvh;
display: flex;
flex-direction: column;
}
.main {
Expand Down

0 comments on commit 7545e4f

Please sign in to comment.