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
|
// @ts-nocheck
|
||||||
function appVersion() {
|
function appVersion() {
|
||||||
|
/* eslint-disable no-undef */
|
||||||
return APP_VERSION;
|
return APP_VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,18 @@
|
||||||
|
|
||||||
{#if !$loading && $locale !== undefined}
|
{#if !$loading && $locale !== undefined}
|
||||||
<Header />
|
<Header />
|
||||||
<slot />
|
<main>
|
||||||
|
<slot />
|
||||||
|
</main>
|
||||||
<Footer />
|
<Footer />
|
||||||
{:else}
|
{:else}
|
||||||
<LoadingTranslations />
|
<LoadingTranslations />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
<style>
|
||||||
|
main {
|
||||||
|
flex: 1; /* This pushes footer to bottom */
|
||||||
|
padding: 20px;
|
||||||
|
min-height: 90vh;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
Loading…
Add table
Reference in a new issue