Use existing div

This commit is contained in:
Niek van der Maas 2023-03-21 20:02:43 +01:00
parent a31912650f
commit 3c60d2c40d
3 changed files with 16 additions and 21 deletions

View File

@ -10,7 +10,7 @@
</head> </head>
<body> <body>
<div id="app"></div> <div id="app" class="app"></div>
<script type="module" src="/src/main.ts"></script> <script type="module" src="/src/main.ts"></script>
</body> </body>

View File

@ -18,8 +18,6 @@
} }
</script> </script>
<div class="page_container">
<Navbar /> <Navbar />
<section class="section"> <section class="section">
@ -38,5 +36,3 @@
</section> </section>
<Footer /> <Footer />
</div>

View File

@ -7,8 +7,7 @@
} }
} }
.page_container { .app {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex-grow: 1; flex-grow: 1;