fix: update TableHead component to include background color for improved visibility and styling consistency

This commit is contained in:
Yoga Pangestu 2026-07-05 22:15:13 +07:00
parent 7c15a39bbd
commit 318de0ba30

View File

@ -10,7 +10,7 @@ const props = defineProps<{
<template>
<th
data-slot="table-head"
:class="cn('text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 *:[[role=checkbox]]:translate-y-0.5', props.class)"
:class="cn('text-foreground bg-muted h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 *:[[role=checkbox]]:translate-y-0.5', props.class)"
>
<slot />
</th>