mirror of
https://github.com/NotXia/notxia.github.io.git
synced 2025-12-14 19:01:51 +01:00
Add screen centering component
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
<div class="bg-gray-100 text-gray-900 min-h-screen h-full
|
||||
dark:bg-gray-900 dark:text-slate-50"
|
||||
style="font-family: 'Comfortaa';">
|
||||
<div class="container relative mx-auto pb-8 md:px-8 min-h-screen min-w-screen">
|
||||
<div class="container mx-auto pb-8 md:px-8 min-h-screen min-w-screen flex flex-col">
|
||||
<RouterView />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
7
src/components/screen-center/ScreenCenter.vue
Normal file
7
src/components/screen-center/ScreenCenter.vue
Normal file
@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<div class="flex flex-1 items-center pb-12">
|
||||
<div class="w-full">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user