refactor(ui): better color schemes and empty states

This commit is contained in:
liyasthomas
2021-07-26 21:39:39 +05:30
parent 5258db345e
commit e60e8545a1
17 changed files with 111 additions and 88 deletions

View File

@@ -193,8 +193,8 @@
v-for="(header, index) in headers"
:key="`header-${index}`"
class="
divide-x divide-dashed divide-divider
border-b border-dashed border-divider
divide-x divide-dividerLight
border-b border-dividerLight
flex
"
:class="{ 'border-t': index == 0 }"
@@ -271,6 +271,21 @@
/>
</div>
</div>
<div
v-if="headers.length === 0"
class="
flex flex-col
text-secondaryLight
p-4
items-center
justify-center
"
>
<i class="opacity-75 pb-2 material-icons">post_add</i>
<span class="text-center">
{{ $t("headers_empty") }}
</span>
</div>
</AppSection>
</SmartTab>
</SmartTabs>