chore(refactor): modern UI

This commit is contained in:
Liyas Thomas
2020-12-11 22:24:34 +05:30
parent 773423069b
commit 5a7bcf32ea
55 changed files with 936 additions and 860 deletions

View File

@@ -1,10 +1,9 @@
<template>
<div v-if="fb.currentFeeds.length !== 0" class="virtual-list">
<ul
v-for="feed in fb.currentFeeds"
:key="feed.id"
class="flex-col py-2 border-b border-dashed border-brdColor"
>
<div
v-if="fb.currentFeeds.length !== 0"
class="divide-y virtual-list divide-dashed divide-brdColor"
>
<ul v-for="feed in fb.currentFeeds" :key="feed.id" class="flex-col">
<div data-test="list-item" class="show-on-large-screen">
<li class="info">
<label data-test="list-label">
@@ -24,7 +23,7 @@
</div>
<ul v-else class="flex-col">
<li>
<label class="info">{{ $t("empty") }}</label>
<p class="info"><i class="material-icons">not_interested</i> {{ $t("empty") }}</p>
</li>
</ul>
</template>

View File

@@ -8,9 +8,10 @@
v-model="message"
:placeholder="$t('paste_a_note')"
@keyup.enter="formPost"
class="rounded-t-lg"
/>
</div>
<div class="show-on-large-screen">
<div class="border-b show-on-large-screen border-brdColor">
<input
:aria-label="$t('label')"
type="text"