Started item data view with working overflow scroll

This commit is contained in:
Alexis
2023-05-14 12:23:59 +02:00
parent 0285e18556
commit 495c9ed1d0
13 changed files with 266 additions and 18 deletions

View File

@@ -0,0 +1,21 @@
<template>
<article class="h-full grid grid-rows-[auto_1fr_1fr_auto] gap-3 bg-y-beige-300">
<header class="px-3 py-1 bg-y-beige-700">
<span class="tracking-wider text-lg text-y-beige-400">
<slot name="title" />
</span>
</header>
<figure class="mx-3 bg-y-beige-500 grid place-items-center">
<slot name="image" />
</figure>
<div class="mx-3">
<slot name="content" />
</div>
<footer class="mx-3">
<slot name="footer" />
</footer>
</article>
</template>