Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ export function DataTableColumnHeader<TData, TValue>({
<span className="flex flex-col">
<ChevronUp
className={cn(
"-mb-0.5! size-3!",
"-mb-0.5 size-3",
column.getIsSorted() === "asc"
? "text-accent-foreground"
: "text-muted-foreground",
)}
/>
<ChevronDown
className={cn(
"-mt-0.5! size-3!",
"-mt-0.5 size-3",
column.getIsSorted() === "desc"
? "text-accent-foreground"
: "text-muted-foreground",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export function DataTableFilterControls() {
if (!FilterComponent) return null;
return (
<AccordionItem key={value} value={value} className="border-none">
<AccordionTrigger className="data-[state=closed]:text-muted-foreground data-[state=open]:text-foreground focus-within:data-[state=closed]:text-foreground hover:data-[state=closed]:text-foreground w-full items-center px-2 py-0 hover:no-underline">
<div className="flex w-full items-center justify-between gap-2 truncate py-2">
<AccordionTrigger className="data-[state=closed]:text-muted-foreground data-[state=open]:text-foreground focus-within:data-[state=closed]:text-foreground hover:data-[state=closed]:text-foreground w-full items-center gap-2 px-2 py-0 hover:no-underline">
<div className="flex w-full items-center justify-between gap-2 truncate py-2 pr-2">
<div className="flex items-center gap-2 truncate">
<p className="text-sm font-medium">{field.label}</p>
{value !== field.label.toLowerCase() &&
Expand Down
Loading