fix cover & home memos display
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
</div>
|
||||
<Loader v-if="loading" />
|
||||
<div v-else class="flex flex-wrap -m-2">
|
||||
<div v-if="memos.lenght === 0">
|
||||
<p>No memos yet. <router-link to="/memos/create">Get Started ></router-link></p>
|
||||
<div v-if="memos.length === 0" class="pt-4 text-center w-full">
|
||||
<p>No memos yet. <router-link :to="'/memos/create'" class="btn-primary">Get Started ></router-link></p>
|
||||
</div>
|
||||
<router-link v-for="memo in memos" :key="memo.data.memo_id" :to="'/memos/' + memo.data.memo_id" class="flex-initial sm:mx-auto md:w-1/2 md:mx-0 lg:w-1/3 xl:w-1/4 mb-4 no-underline">
|
||||
<div class="card sm:max-w-124">
|
||||
|
||||
Reference in New Issue
Block a user