Skip to content

Commit

Permalink
feat: sticky footer (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdrtsky committed Mar 7, 2023
1 parent 64ec3f9 commit cb9d4b8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion components/app/AppLayout.vue
Expand Up @@ -17,10 +17,20 @@ useContentHead(config.value as any)
</script>

<template>
<div>
<div class="app-layout">
<AppLoadingBar />
<AppHeader />
<slot />
<AppFooter />
</div>
</template>

<style scoped lang="ts">
css({
'.app-layout': {
minHeight: '100vh',
display: 'grid',
gridTemplateRows: 'auto 1fr auto',
}
})
</style>

0 comments on commit cb9d4b8

Please sign in to comment.