Skip to content

Commit

Permalink
centered content
Browse files Browse the repository at this point in the history
  • Loading branch information
Smef committed Jun 7, 2024
1 parent f7b7b38 commit 6047c9b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions playground/layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
<script setup lang="ts">
import ContentWidthContainer from '~/components/ContentWidthContainer.vue'
import NavBar from '~/components/nav/NavBar.vue'
</script>

<template>
<div>
<NavBar />
<div class="px-8 py-4">
<slot />
</div>
<ContentWidthContainer>
<div
class="px-4 py-4"
>
<slot />
</div>
</ContentWidthContainer>
</div>
</template>

0 comments on commit 6047c9b

Please sign in to comment.