- fix to empty states #163

Merged
kamilniemczycki merged 3 commits from fix-empty-states into main 2022-06-07 12:43:39 +02:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit 2f84f2a066 - Show all commits

View File

@@ -1,5 +1,5 @@
<template>
<div class="text-center my-5">
<div class="text-center my-5 text-gray-500">
<slot name="head">
<SearchIcon class="mx-auto w-12 h-12" />
</slot>
@@ -8,7 +8,7 @@
No search result
</slot>
</h3>
<p class="text-sm text-gray-500">
<p class="text-sm">
<slot name="text">
Try a different search query
</slot>

View File

@@ -52,7 +52,7 @@
</div>
</li>
<li v-if="! requests.length">
<EmptyState class="text-gray-700">
<EmptyState>
<template #head>
<CollectionIcon class="mx-auto w-12 h-12" />
</template>

View File

@@ -38,7 +38,7 @@
</li>
<li v-if="! requests.length">
<p class="py-2">
<EmptyState class="text-gray-700">
<EmptyState>
<template #head>
<CollectionIcon class="mx-auto w-12 h-12" />
</template>