removed sideways scrollbar from tables

This commit is contained in:
Oliver Bryan
2026-01-20 13:18:56 +00:00
parent 5284ceaaa6
commit 98d83d5bc1

View File

@@ -4,7 +4,7 @@ import { cn } from "@/lib/utils";
function Table({ className, ...props }: React.ComponentProps<"table">) { function Table({ className, ...props }: React.ComponentProps<"table">) {
return ( return (
<div data-slot="table-container" className="relative w-full overflow-x-auto"> <div data-slot="table-container" className="relative w-full overflow-hidden">
<table data-slot="table" className={cn("w-full caption-bottom text-sm", className)} {...props} /> <table data-slot="table" className={cn("w-full caption-bottom text-sm", className)} {...props} />
</div> </div>
); );