feat: inset class

This commit is contained in:
FairyEver 2021-12-04 22:27:00 +08:00
parent b89546c675
commit cdc9377733
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
</route>
<template>
<d2-flex class="w-full h-full" center dir="top">
<d2-flex class="absolute inset-0" center dir="top">
<span class="mb-2 text-4xl text-gray-300">
<d2-icon name="icon-park-outline:bookmark"/>
</span>

View File

@ -1,7 +1,7 @@
<route>
{
"meta": {
"d2admin.layout.dashboard.customBody": true
"d2admin.layout.dashboard.customBody": false
}
}
</route>

View File

@ -3,5 +3,5 @@
</route>
<template>
<d2-flex class="absolute top-0 bottom-0 left-0 right-0 text-4xl bg-gray-600 text-gray-50" center>Full</d2-flex>
<d2-flex class="absolute inset-0 text-4xl bg-gray-600 text-gray-50" center>Full</d2-flex>
</template>