Skip to content

Commit be4a201

Browse files
fix(filters): remove redundant padding classes in sorting dropdown for cleaner styling
1 parent 8abe670 commit be4a201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dashboard/src/components/users/filters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export const Filters = ({ filters, onFilterChange, refetch, advanceSearchOnOpen,
197197
<DropdownMenuItem
198198
key={item.value}
199199
onClick={() => handleSort && handleSort(item.value)}
200-
className={`whitespace-nowrap px-2 py-1.5 text-xs md:px-3 md:py-2 md:text-sm ${filters.sort === item.value ? 'bg-accent' : ''}`}
200+
className={`whitespace-nowrap px-2 py-1.5 text-xs md:px-3 md:py-2 ${filters.sort === item.value ? 'bg-accent' : ''}`}
201201
>
202202
<section.icon className="mr-1.5 h-3 w-3 flex-shrink-0 md:mr-2 md:h-4 md:w-4" />
203203
<span className="truncate">{t(item.label)}</span>

0 commit comments

Comments
 (0)