mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-26 05:55:31 +02:00
Fix width too big by adding min-width constraints
This commit is contained in:
@@ -524,9 +524,13 @@ export function LogDataTable<TData, TValue>({
|
||||
}
|
||||
className="p-4 bg-muted/50"
|
||||
>
|
||||
{renderExpandedRow(
|
||||
row.original
|
||||
)}
|
||||
{/* w-0 min-w-full keeps this cell's content from */}
|
||||
{/* blowing out the table's auto column widths */}
|
||||
<div className="w-0 min-w-full">
|
||||
{renderExpandedRow(
|
||||
row.original
|
||||
)}
|
||||
</div>
|
||||
</TableCell>
|
||||
</TableRow>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user