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 e48614c commit a07752b
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.32",
"version": "0.0.33",
"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 last:overflow-x-hidden",
"h-10 px-2 text-left align-middle font-medium text-muted-foreground [&>[role=checkbox]]:translate-y-[2px] last:overflow-x-hidden [&:has([role=checkbox])]:pr-0",
className,
)}
{...rest}
Expand Down

0 comments on commit a07752b

Please sign in to comment.