fix: fixed striped rows
This commit is contained in:
@@ -3,7 +3,7 @@ import type { Ref } from 'vue'
|
|||||||
import classNames from 'classnames'
|
import classNames from 'classnames'
|
||||||
|
|
||||||
const baseClasses = 'bg-white dark:bg-gray-800 [&:not(:last-child)]:border-b [&:not(:last-child)]:dark:border-gray-700'
|
const baseClasses = 'bg-white dark:bg-gray-800 [&:not(:last-child)]:border-b [&:not(:last-child)]:dark:border-gray-700'
|
||||||
const stripedClasses = 'odd:bg-white even:bg-gray-50 odd:dark:bg-gray-800 even:dark:bg-gray-800'
|
const stripedClasses = 'odd:bg-white even:bg-gray-50 odd:dark:bg-gray-800 even:dark:bg-gray-700'
|
||||||
const hoverableClasses = 'hover:bg-gray-50 dark:hover:bg-gray-600'
|
const hoverableClasses = 'hover:bg-gray-50 dark:hover:bg-gray-600'
|
||||||
|
|
||||||
export function useTableRowClasses(): { tableRowClasses: Ref<string> } {
|
export function useTableRowClasses(): { tableRowClasses: Ref<string> } {
|
||||||
|
|||||||
Reference in New Issue
Block a user