mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
removed sideways scrollbar from tables
This commit is contained in:
@@ -4,7 +4,7 @@ import { cn } from "@/lib/utils";
|
||||
|
||||
function Table({ className, ...props }: React.ComponentProps<"table">) {
|
||||
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} />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user