From a07752b334a4df380dd33e5b89f60dd9dd04d665 Mon Sep 17 00:00:00 2001 From: Cohan Carpentier Date: Thu, 4 Apr 2024 10:46:03 -0400 Subject: [PATCH] fix: overflow-x hidden on last table head due to align right negative margin --- package.json | 2 +- table.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5b1fee8..f1fdcc3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@risc0/ui", - "version": "0.0.32", + "version": "0.0.33", "sideEffects": false, "type": "module", "scripts": { diff --git a/table.tsx b/table.tsx index 0b9beff..b5e7187 100644 --- a/table.tsx +++ b/table.tsx @@ -36,7 +36,7 @@ const TableHead = forwardRef[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}