mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +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">) {
|
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>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user