Add main wrapper
This commit is contained in:
parent
0bdef1739a
commit
b6aa353ea9
2 changed files with 12 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
// @ts-nocheck
|
||||
function appVersion() {
|
||||
/* eslint-disable no-undef */
|
||||
return APP_VERSION;
|
||||
}
|
||||
|
||||
|
|
|
@ -10,8 +10,18 @@
|
|||
|
||||
{#if !$loading && $locale !== undefined}
|
||||
<Header />
|
||||
<slot />
|
||||
<main>
|
||||
<slot />
|
||||
</main>
|
||||
<Footer />
|
||||
{:else}
|
||||
<LoadingTranslations />
|
||||
{/if}
|
||||
|
||||
<style>
|
||||
main {
|
||||
flex: 1; /* This pushes footer to bottom */
|
||||
padding: 20px;
|
||||
min-height: 90vh;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Reference in a new issue