chore: removed cellstyles and modified some styles

This commit is contained in:
Joel Jacob Stephen
2023-08-13 22:08:26 +05:30
parent 9e0453d3bb
commit 1b215be382
4 changed files with 2 additions and 8 deletions

View File

@@ -27,7 +27,6 @@ declare module '@vue/runtime-core' {
IconLucideArrowLeft: typeof import('~icons/lucide/arrow-left')['default'] IconLucideArrowLeft: typeof import('~icons/lucide/arrow-left')['default']
IconLucideChevronDown: typeof import('~icons/lucide/chevron-down')['default'] IconLucideChevronDown: typeof import('~icons/lucide/chevron-down')['default']
IconLucideInbox: typeof import('~icons/lucide/inbox')['default'] IconLucideInbox: typeof import('~icons/lucide/inbox')['default']
IconLucideUser: typeof import('~icons/lucide/user')['default']
TeamsAdd: typeof import('./components/teams/Add.vue')['default'] TeamsAdd: typeof import('./components/teams/Add.vue')['default']
TeamsDetails: typeof import('./components/teams/Details.vue')['default'] TeamsDetails: typeof import('./components/teams/Details.vue')['default']
TeamsInvite: typeof import('./components/teams/Invite.vue')['default'] TeamsInvite: typeof import('./components/teams/Invite.vue')['default']

View File

@@ -32,7 +32,6 @@
:list="newTeamsList" :list="newTeamsList"
:headings="headings" :headings="headings"
@on-row-clicked="goToTeamDetails" @on-row-clicked="goToTeamDetails"
cell-styles="px-6 py-1"
> >
<template #action="{ item }"> <template #action="{ item }">
<div class="relative"> <div class="relative">

View File

@@ -25,11 +25,7 @@
</div> </div>
<div v-else class="m-5"> <div v-else class="m-5">
<HoppSmartTable <HoppSmartTable :list="newInvitedUsersList" :headings="headings">
cell-styles="px-6 py-1"
:list="newInvitedUsersList"
:headings="headings"
>
<template #invitedOn="{ item }"> <template #invitedOn="{ item }">
<div class="flex flex-col truncate"> <div class="flex flex-col truncate">
<span v-if="item" class="truncate"> <span v-if="item" class="truncate">

View File

@@ -25,7 +25,7 @@
v-for="cellHeading in headings" v-for="cellHeading in headings"
:key="cellHeading.key" :key="cellHeading.key"
@click="!cellHeading.preventClick && onRowClicked(rowData)" @click="!cellHeading.preventClick && onRowClicked(rowData)"
class="max-w-40 px-6 py-1" class="max-w-40 pl-6 py-1"
> >
<!-- Dynamic column slot --> <!-- Dynamic column slot -->
<slot :name="cellHeading.key" :item="rowData"> <slot :name="cellHeading.key" :item="rowData">