mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-04 11:34:19 +00:00
disable overflow on header row for tables
This commit is contained in:
@@ -413,7 +413,7 @@ export function ControlledDataTable<TData, TValue>({
|
||||
</div>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<div className="overflow-x-auto">
|
||||
<div className="overflow-x-auto overflow-y-hidden">
|
||||
<Table>
|
||||
<TableHeader>
|
||||
{table.getHeaderGroups().map((headerGroup) => (
|
||||
|
||||
@@ -695,7 +695,7 @@ export function DataTable<TData, TValue>({
|
||||
</div>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<div className="overflow-x-auto">
|
||||
<div className="overflow-x-auto overflow-y-hidden">
|
||||
<Table>
|
||||
<TableHeader>
|
||||
{table.getHeaderGroups().map((headerGroup) => (
|
||||
|
||||
@@ -12,7 +12,7 @@ const Table = React.forwardRef<
|
||||
>(({ className, sticky, ...props }, ref) => (
|
||||
<div
|
||||
className={cn("relative w-full", {
|
||||
"overflow-auto": !sticky
|
||||
"overflow-x-auto overflow-y-hidden": !sticky
|
||||
})}
|
||||
>
|
||||
<table
|
||||
|
||||
Reference in New Issue
Block a user