A bit of css for the content-list and content-card
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user