playground(app): remove container

This commit is contained in:
Benjamin Canac
2024-03-29 14:52:43 +01:00
parent 5fcd6d1bea
commit 8234bc6a15
2 changed files with 5 additions and 5 deletions

View File

@@ -40,12 +40,12 @@ function upperName (name: string) {
<template>
<UProvider>
<UContainer class="min-h-screen flex flex-col gap-4 items-center justify-center overflow-y-auto">
<UNavigationMenu :links="components.map(component => ({ label: upperName(component), to: `/${component}` }))" class="border-b border-gray-200 dark:border-gray-800 overflow-x-auto" />
<div class="min-h-screen w-screen flex flex-col items-center justify-center overflow-y-auto">
<UNavigationMenu :links="components.map(component => ({ label: upperName(component), to: `/${component}` }))" class="border-b border-gray-200 dark:border-gray-800 overflow-x-auto px-2" />
<div class="flex-1 flex flex-col justify-center pb-12">
<div class="flex-1 flex flex-col justify-center py-12">
<NuxtPage />
</div>
</UContainer>
</div>
</UProvider>
</template>

View File

@@ -101,7 +101,7 @@ const items = computed(() => [
</script>
<template>
<div class="flex-1 flex flex-col pt-12">
<div class="flex-1">
<UDropdownMenu :items="items" arrow :content="{ side: 'bottom' }">
<UButton label="Open" color="white" />
</UDropdownMenu>