Started item data view with working overflow scroll
This commit is contained in:
21
src/components/YrhCard.vue
Normal file
21
src/components/YrhCard.vue
Normal 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>
|
||||
Reference in New Issue
Block a user