Skip to content

Commit

Permalink
fix: overflow-x hidden on last table head due to align right negative…
Browse files Browse the repository at this point in the history
… margin
  • Loading branch information
nahoc committed Apr 4, 2024
1 parent fdbf726 commit e48614c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@risc0/ui",
"version": "0.0.31",
"version": "0.0.32",
"sideEffects": false,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const TableHead = forwardRef<HTMLTableCellElement, ThHTMLAttributes<HTMLTableCel
<th
ref={ref}
className={cn(
"h-10 px-2 text-left align-middle font-medium text-muted-foreground [&>[role=checkbox]]:translate-y-[2px] [&:has([role=checkbox])]:pr-0",
"h-10 px-2 text-left align-middle font-medium text-muted-foreground [&>[role=checkbox]]:translate-y-[2px] [&:has([role=checkbox])]:pr-0 last:overflow-x-hidden",
className,
)}
{...rest}
Expand Down

0 comments on commit e48614c

Please sign in to comment.