Skip to content

Commit 56a1a6a

Browse files
committed
fix(NeTableRow): add transition to hover color
1 parent 9e66ad6 commit 56a1a6a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/components/NeTableRow.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ const trCardStyle: Record<Breakpoint, string> = {
1818
}
1919
</script>
2020
<template>
21-
<tr :class="[`grid`, `hover:bg-gray-100 dark:hover:bg-gray-800`, trCardStyle[cardBreakpoint]]">
21+
<tr
22+
:class="[
23+
`grid`,
24+
`transition-colors duration-200 hover:bg-gray-100 dark:hover:bg-gray-800`,
25+
trCardStyle[cardBreakpoint]
26+
]"
27+
>
2228
<slot />
2329
</tr>
2430
</template>

0 commit comments

Comments
 (0)