Skip to content

Commit

Permalink
fix(components): up
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Nov 15, 2022
1 parent 22f3fb7 commit c102e8a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/content/Sandbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ css({
}
}
})
</style>
</style>
2 changes: 1 addition & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<DocsPageContent class="min-h-page">
<DocsPageContent>
<slot />
</DocsPageContent>
</template>
12 changes: 11 additions & 1 deletion layouts/page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,21 @@ const { page } = useContent()
</script>

<template>
<div class="flex flex-col min-h-screen">
<div class="page-layout">
<AppContainer :fluid="page.fluid" :constrained-class="page.constrainedClass" :padded="page.padded">
<article>
<slot />
</article>
</AppContainer>
</div>
</template>

<style lang="ts" scoped>
css({
'.page-layout': {
display: 'flex',
flexDirection: 'column',
minHeight: '{docus.page.height}'
}
})
</style>

0 comments on commit c102e8a

Please sign in to comment.