A bit of css for the content-list and content-card

This commit is contained in:
Jonathan Bourdon
2024-07-20 02:08:04 -04:00
parent 1b84a056f0
commit e1caef71b2
6 changed files with 32 additions and 58 deletions

View File

@@ -1,14 +1,14 @@
<template>
<v-infinite-scroll :items="contents"
:onLoad="load"
class="bg-teal justify-items-center">
:onLoad="load">
<ContentCard v-for="content in contents"
:content="content"
class="my-2 p-4 bg-yellow-300 w-full"
>
</ContentCard>
<template v-for="content in contents">
<ContentCard :content="content"
class="w-full p-2 my-2"
>
</ContentCard>
</template>
<template v-slot:empty>
Il n'y a pas plus de contenus
@@ -20,6 +20,8 @@
</v-infinite-scroll>
<p class="bg-orange">test</p>
</template>
<script setup>