Update page positioning

This commit is contained in:
2023-01-24 20:45:36 +01:00
parent 3522da3bb0
commit 6a880b1c8f
2 changed files with 11 additions and 13 deletions

View File

@ -2,7 +2,7 @@
<div class="bg-gray-100 text-gray-900 min-h-screen h-full <div class="bg-gray-100 text-gray-900 min-h-screen h-full
dark:bg-gray-900 dark:text-slate-50" dark:bg-gray-900 dark:text-slate-50"
style="font-family: 'Comfortaa';"> style="font-family: 'Comfortaa';">
<div class="container mx-auto pb-8 md:px-8 h-full w-full"> <div class="container relative mx-auto pb-8 md:px-8 min-h-screen min-w-screen">
<RouterView /> <RouterView />
</div> </div>
</div> </div>

View File

@ -3,8 +3,7 @@
<Navbar /> <Navbar />
</div> </div>
<main class="absolute top-0 left-0 h-screen w-screen z-0"> <main class="absolute top-0 flex justify-center items-center left-0 h-full w-full z-0">
<div class="flex justify-center items-center h-full w-full">
<div> <div>
<h1 class="text-5xl font-bold text-center">{{ t("contacts") }}</h1> <h1 class="text-5xl font-bold text-center">{{ t("contacts") }}</h1>
@ -17,7 +16,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</main> </main>
</template> </template>