From 78be1a809a289ae10ee1ae1975d3106f126cf954 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Wed, 20 Sep 2023 19:08:24 +0530 Subject: [PATCH] fix: listview layout --- frontend/src/components/ListView.vue | 129 ++++++++++++++------------- frontend/src/pages/CallLogs.vue | 2 +- frontend/src/pages/Contacts.vue | 2 +- frontend/src/pages/Deals.vue | 2 +- frontend/src/pages/Leads.vue | 2 +- 5 files changed, 71 insertions(+), 66 deletions(-) diff --git a/frontend/src/components/ListView.vue b/frontend/src/components/ListView.vue index 54288ab1..0aa205d5 100644 --- a/frontend/src/components/ListView.vue +++ b/frontend/src/components/ListView.vue @@ -3,7 +3,7 @@
{{ column.label }} @@ -24,74 +24,79 @@ v-for="row in rows" :key="row[rowKey]" :to="$router.currentRoute.value.path + '/' + row[rowKey]" - class="flex space-x-4 items-center mx-2 px-3 py-2 border-b cursor-pointer transition-all duration-300 ease-in-out" - :class=" - selections.has(row[rowKey]) - ? 'bg-gray-100 hover:bg-gray-200' - : 'hover:bg-gray-50' - " + class="flex flex-col mx-5 cursor-pointer transition-all duration-300 ease-in-out" > -
- +
- -
- -
- + +
+
-
+
-
+
-
+
-
+