Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Nov 18, 2024
1 parent cc5f9a3 commit 8117546
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function DataTableHeader() {
</Button>
</TableHead>

<TableHead className="min-w-[220px]">
<TableHead className="min-w-[170px]">
<Button
className="p-0 hover:bg-transparent space-x-2"
variant="ghost"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export function DataTableRow({ row, userId }: DataTableRowProps) {
</DataTableCell>
<DataTableCell>
<div className="relative">
<ScrollArea className="max-w-[200px] whitespace-nowrap">
<ScrollArea className="max-w-[170px] whitespace-nowrap">
<div className="flex items-center space-x-2">
{row.tags?.map((tag) => (
<Link
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export const columns: ColumnDef<Transaction>[] = [
cell: ({ row }) => {
return (
<div className="relative">
<ScrollArea className="max-w-[200px] whitespace-nowrap">
<ScrollArea className="max-w-[170px] whitespace-nowrap">
<div className="flex items-center space-x-2">
{row.original.tags?.map((tag) => (
<Badge key={tag.id} variant="tag" className="whitespace-nowrap">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export function DataTableHeader({ table, loading }: Props) {
)}

{isVisible("tags") && (
<TableHead className="md:min-w-[200px] hidden md:table-cell px-3 md:px-4 py-2">
<TableHead className="md:min-w-[170px] hidden md:table-cell px-3 md:px-4 py-2">
<Button
className="p-0 hover:bg-transparent space-x-2"
variant="ghost"
Expand Down

0 comments on commit 8117546

Please sign in to comment.