We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5bd9eb commit b6225ecCopy full SHA for b6225ec
src/components/table/UTable.vue
@@ -99,7 +99,7 @@ function onSort(column: { key: string; direction?: 'asc' | 'desc' }) {
99
<tbody :class="config.tbody">
100
<tr
101
v-for="(row, index) in rows" :key="index"
102
- :class="[config.tr.base, isSelected(row) && config.tr.selected]"
+ :class="[config.tr.base, config.tr.hover, isSelected(row) && config.tr.selected]"
103
@click="emit('row-clicked', row)"
104
>
105
<td class="w-0 pl-4">
src/components/table/table.ts
@@ -7,6 +7,7 @@ export const table = {
7
tr: {
8
base: '',
9
selected: 'bg-light-200 dark:bg-dark-700',
10
+ hover: 'hover:bg-light-200 hover:dark:bg-dark-700',
11
},
12
th: {
13
base: 'text-left font-normal',
0 commit comments